15,300 Posted Topics
Re: maybe I am being too simplistic, I don't know, but why not just create a few simple queries in the mysql database and save the results to files on the local computer ? I know there are free mysql tools that will allow you to do that. I do it … | |
Re: >>native functions in C with which i can detect a keypress getchar() and getc() >>native functions in C with which i can detect a keypress no C functions for the mouse. | |
Re: did you include windows.h? That's where BOOL and CALLBACK are defined. | |
Re: >>I don't even know what kind of language it's in It is [URL="http://en.wikipedia.org/wiki/Pseudocode"]pseudocode[/URL], which means it is not written in any computer language. Its purpose is to show the logic regardless of programming language. What you will want to do is copy the input line (do NOT just move it) … | |
Re: >>tell me what to do so as i can start downloading games again you could reformat the entire hard drive then resinstall the operating system:mrgreen: | |
Re: No, there is no such function. If you want the cursor at the end, use an operating system specific function to move it there after the text is printed. | |
Re: [QUOTE=fesago90;304041]Hi, just looking for a quick answer to my problem: How can I read a string from a binary file? for example string buff; binfile.read(reinterpret_cast<char*>(&buff), 10) does not work. Doesn't work either if buff is declared as a c-style string. I'd preferably like to read it into an STL string. … | |
Re: please answer Salem's question -- what compiler and operating system are you using? | |
Re: >>Our translations are sad,and it is not rare that code is wrong in books. It is not your translator -- our books have those mistakes too. >>most of the good books are not for free One reason people write books is to make money, and they can not do that … | |
Re: [QUOTE=Lynqu2;293258] Anyone aware of ways in which I can go about beginning, and which should I start out with bearing in mind I am doing this on my own, Any suggestions?[/QUOTE] For starters you can read [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]this thread[/URL] | |
Re: >>just wondering if there is anymore documentation that I woould need? don't know -- depends on your teacher's requirements. | |
Re: >>I declare this "Psuedo-Science" Its more like "VooDoo Science", very similar to horoscopes. | |
Re: lean to crawl before you try to walk and run. Before you even think about game programming take a year or so (depending on how fast you learn and how much time you are willing to spend at it) to learn the language. If you already bought an introduction to … | |
Re: Start by going to the [URL="http://web.daniweb.com/techtalkforums/thread63827.html"]Game Development[/URL] board and read the sicky threads at the top of the board. It contains a list of the resource you might want. | |
Re: did you try any of [URL="http://www.google.com/search?hl=en&q=sparc+assembly+programs"]these google links[/URL]? | |
Re: [code] fgets(line,LINE_BUF,fp); while (!feof(fp)) { [/code] The behavior you see is probably because the above is not the correct way to code that loop. Here is the correct, and more efficient, way. Not how eof() function is not needed. [code] while( fgets(line,LINE_BUF,fp) != NULL) { // blabla } [/code] You … | |
Re: You should be able to install the C# program on a single network computer, create a shortcut to it on each client computer, then run an instance of it on each indivual client computer. You may have to change the connection string in the C# program to point to the … | |
Re: softward development costs can vary widly depending on the programmer and your location. In my location it might cost from $50.00 per hour up to $100.00 or more per hour. You will have to first develop a detailed design of what you want the program to do and what the … | |
Re: Greatest game ever would have to be Diablo from Blizard. The last release sold over 1 million copies before it was released. And now Blizard is working on a third release, supposed to come out this year I think. I have been playing the game since its inception, about 10 … | |
Re: GetCursorPos() expects a pointer of type POINT. All you are passing is a pointer to nothing. [code] POINT pt; if( GetCursorPos( &pt ) != 0) { // pt contains valid data. Now you can use is however you wish } [/code] Whenever windows.h says a parameter to a function is … | |
Re: win32 api function GetSystemTime() ??? | |
Re: there is no full-proof method to do what you want. Private members are private for a reason -- to keep hackers like you from accessing them. If you need access then your program should be redesigned. If you are unwilling to do that, then you are just SOL. | |
Re: dont' you need a camera to film you sitting at your computer playing a game? Or do you mean a [URL="http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=key+logging+program&btnG=Google+Search"]key logger program [/URL]that just records all the keys you press on your keyboard. Such programs will just save them in a text or binary file -- not mp3 that … | |
Re: what compiler and operating system? We can't tell you where to put that code because you didn't post enough code. Sorta difficult to see your program from where I'm setting :) | |
Re: [code] include<stdio.h> int* new_last() { int a[10]; int i,j=0; for(i=0;i<=5;i++) { a[i]=1+j; //printf("%d\n",a[i]); j++; } return(a); }[/code] C functions can not return arrays like that. They must be pointers and size allocated at runtime, like this: [code] include<stdio.h> int* new_last() { [color=red] int* a; a = malloc(10 * sizeof(int)); [/color] … | |
Re: I have no clue either. What do you think is wrong? What is it supposed to do? As far as I know that is supposed to display all the letters of the Greek alphabet. You should always add comments in your code to explain what it is doing. | |
Re: [QUOTE=jan1024188;301333]um...could you correct code [CODE] CopyFile("C:\\start.exe", "C:\\Program Files\\banana");[/CODE][/QUOTE] you can correct it yourself -- read the joe's post and MSDN. [b]Pay attention[/b] to the third required parameter:!: | |
Re: maybe [URL="http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html"]this[/URL] will help you | |
Re: see[URL="http://web.daniweb.com/techtalkforums/thread64614.html"] this thred [/URL]for example. It is specific to 16-bit MS-DOS 6.X and earlier. Can't run it in 32-bit applications because int 21 instruction not allowed unless running in ring 0 as super user (os) [code] MOV AH,4CH ; return control to DOS INT 21H [/code] | |
Re: you could google for [URL="http://www.jcameron.com/vms/pascal.htm"]"pascal programs"[/URL] :rolleyes: | |
Re: I don't think there is any one specific way to limit a program to a single instance. Some use a registry entry to determine if there is an instance already running, while others use a file or create a system-wide semaphore (see MSDN for CreateSemaphore() win32 api function) | |
Re: The feminist movement in USA has done a lot of good for women's rights in this country. But women are still not 100% equal to men (other than of course biological differences). For example, there are still many jobs in the USA military that are closed to women. As for … | |
sure would be nice to have a delete button so that I can delete my own post but nobody else's. I find it annoying that I cannot delete my post when I see that it duplicates someone else's or that I posted misinformation. Just simply editing the post and deleting … | |
Re: link works for me -- but it was too boring to watch all of it so I stopped after a minute or so. | |
Re: Shucks! I tought it would be about kalifornia falling off into the ocean :( | |
Re: I think it worked ok for me. I can't read German so I guessed at the prompts. Below for Jan 2000 [code] Dieses Programm errechnet den Wochentag, des ersten Tages im Jahr, den Wochentag im Monat des Jahres, die Woche, mit der der Monat anfaengt Die Woche mit dem der … | |
Re: most definitely congratulations Narue. Now the fun begins for the next 20 years. | |
Re: [QUOTE=TylerSBreton;300101]Shouldn't you be using strcmp instead of == for comparing strings? [/QUOTE] depends on how VideoFormat is declared. >> VideoFormat = FormatTypeComboBox->Text(); Is this MS-Windows combo box? or something else, such as *nix? what compiler and os are you using? | |
Re: one place to get the documentation is google man pages. [code] google man printf [/code] Another place is the links in [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]this thread[/URL] | |
Re: [URL="http://users1.ee.net/brey/e5.htm"]This[/URL] article might help you. | |
Re: there are several examples [URL="http://www.codeproject.com/info/search.asp"]here[/URL] if you use Microsoft compilers. ![]() | |
Re: I marked this thread [b]Solved[/b] for you. Glad you found the solution. :) | |
Re: If class A and B are your classes, I would create class C to be the base class of A and B, then class C { // blala }; class A : public C { // blala }; class B : public C { // blala }; vector<C*> ops; A* … | |
Re: [URL="http://www.uv.tietgen.dk/Staff/Mlha/PC/Prog/asm/int/21/int21.doc"]int function 08[/URL] will read just one key from the input keyboard and wait if no key is available. So if I type "12 <Enter>" that is three keys -- '1', '2', and <Enter>. If you want the user to type more than one key then you need to write … | |
Re: [QUOTE=Scottg1989;228376]Well... heres me :-| I may look like a kid.. but im almost 17 *** damn it! :p[/QUOTE] You may not realize it now, but 17 is [i]just a kid[/i] :mrgreen: Don't be in such a big hurry to grow up -- take your time and have a lot of … | |
Re: The first field, ID, is an integer and does not allow null values but you are passing a blank string ''. I think you will probably get runtime errors on that. | |
Re: you first have to learn how to interact with a database through VB. The DB could be as simple as a text file or very complex such as MS Access or SQL Server. As for the db code, create a menu on the main form for those three options you … | |
Re: see [URL="http://www.uv.tietgen.dk/Staff/Mlha/PC/Prog/asm/int/INT10.htm"]bios int 10 services[/URL] |
The End.