Hey, How to install SDL library in VISUAL C++ 2008? I I am looking for a tutorial how to install, but I found nothing good :(( please help me?, sorry for bad english. Thanks :))
Hey,
I'm trying to get this function to get the following output with the listed input, the "..." is where I'm not sure what to write:
void Question8(void)
{
char sentence[100];
int grade;
scanf(….);
printf("%s %d", sentence, grade);
}
Input:
My CS Grade is 1000
Output:
My CS Grade is 100
However, the kicker is that I need the scanf to read a c-string and then an int with a single scanf command, is this even possible?
Hey, i know the 5 registry hives have large 8-digit values for their handles and i have written a function which maps the value to the hive name.
However, i'm also getting (in my data) much smaller numbers like 60, 120 etc and i have no idea which registry keys these represent. What could i do to find out?
Hey all,
I'm writing a C++ app that will communicate with another process via boost::interprocess, however I need to check if the other process is actually running first - as the other process is responsible for creating the inter-process shared memory. How do I check if the other process is running ?
folks, I'm specifically required to check other processes
Hey all,
I'm currently using SBT to manage my Lift project. I'd like to deploy it, but when I run 'sbt package' it produces a 60MB war file. This seems pretty large - are there ways I could cut down the size?
Thanks!
Hey!
Has anybody used a good obfuscator for PHP?, I've tried some but they dont work for very big projects. They can't handle variables that are included in one file and used in another, for instance.
Or do you have any other tricks for stopping the spread of your great code? :)
hey,
i'am trying to update a row in a table using :
command.ExecuteNoQuery()
it's not giving me an error but it's not updating the row
This is my code :
Dim req As String = "Update Table Set Id= 5"
Dim cmd As New OleDb.OleDbCommand(req, connect())
cmd.ExecuteNonQuery()
disconnect()
thanks
Hey guys, in order to remove contact's photo, which way is correct?
1) to update and set Photo.PHOTO to ""/"NULL" , or
2) to update and set Photo.MIMETYPE to ""/"NULL" or
3) to update and set Data.MIMETYPE to ""/"NULL" ?
I wanted to mention also that I insert photos from my app by the following way:
cr.insert(ContactsContract.Data.CONTENT_URI, photoValues);
Please also tell me "" is better or null? (in updating case)
Thanks a lot.
Hey, I'm writing a canvas app for facebook. I use the command:
$user_id = $facebook-require_login();
To get the userid, but at the first few pages of my app I don't want to require login, but if the user's logged in, I'd like to know what the userid is. Basically I need a "get_login()" command that perhaps returns 0 or null if the user is not logged in. Is there anything like that?
Tag :Android Development
Hey
i want to display a list of image form url which i will get from xml file. how can i do that plz assist me.
Any knid of help is appriciated
Hey.
I was coding here the other day, writing a couple of if statements with ints that are always either zero or one (~bools), and I asked myself:
Should I use if (int == 1) or if (int != 0) ?
Is there any difference at all?
Please, don't answer with stuff regarding the int may being more/less than 1/0, that's not what I want to know.
Hey I was writing a udp client server in which a client waits for packets from server.But I want to limit this wait for certain time.After client don't get response for a certain moment in raise an alarm,basically it comes out and start taking remedy steps.So what are the possible solution for it.I think writing a wrapper around recv will work but how exactly this has to be done,I mean how will make recv raise alarm for you after that time limit.
Any Help in this regard will be appreciated.
Thanks!
hey, I am starting a project and wonder the relationship between the characters in images and the whole web page where the images reside. so first, i want to crawl some images and their web pages.....need to save the crawl result in local disk for further analysis.
I wonder if there is any open source for this issue?
thx^_^
Hey everyone I'm trying to get a List of directories. I'm using FileUtils listFiles().
I want to do something like this: listFiles(File,IOFileFilter,false). My real questions is how I can implement the accept() from the IOFileFilter so I can check if current File is a directory?
Thank you in advance.
Hey
I am writing a program, and one part of my program has a UItableView in which I set cell contents manually by using the following...
cell.textLabel.text = @"CELL CONTENTS HERE!";
How can I copy a string displayed in a particular TableView Cell into another NSString?
Hey,
many builtin classes in Java implement Iterable, however String does not. It makes sense to iterate over chars in the String, just as one can iterate over items in regular array. Is there a reason behind it?
hey.. when i login into my application the main form appears but when i log out, the main form remains at its position and i want such that when i log out, the main form shuld be hidden.. can any one will help me out??
Hey Everyone.
Is is possible to have 2 Firefox shortcuts on your desktop and when you open them they open to a designated different screen (new window/different screen)? I have a 3 screen set up, Win XP and using FF3.6. If no way of coding it, maybe a product that will do it?
I appreciate your time.
Thanks.
hey,
I just want to know what is the difference between sending parameter with ajax(post/get) to a servlet and sending them with "submit" .
Thanks for your help.
Hey
I have some code that downloads an image from a remote server
$data = file_get_contents("$rURL");
I want to then change the quality of this image, but do not want to save it out to a file first, how do I convert $data into an image that I can then use in imagecopyresampled?
Thanks
Hey everybody. Given a set of n integers, i need to find the product of each of the (n-1) subsets i.e:
ith subset = the product of all the elements except the ith element itself. e.g:
S = {1,6,3,2};
subset_product(1) = 6*3*2=36;
subset_product(2) = 1*3*2=6; etc.
So Any help?
Hey guys,
today i was doing some java script coding,
in that i need some images only appear on my home page.
so how can know that if user is seeing the home page or not?
or i do this with url check up?
is their in built function check in drupal 6?