First  |  Prev |  Next  |  Last
Pages: 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
a switch statement
char keystroke = getch(); switch( keystroke ) { case 'a': case 'b': case 'c': case 'd': KeyABCDPressed(); break; case 'e': KeyEPressed(); break; default: UnknownKeyPressed(); break; } can anyone explain the code above? also an... 22 Aug 2006 13:36
reading text off file
GT wrote: hi there, Right, I used to be able to code in C a long time ago, and am going on to C++. I understand the concepts (classes, pointers, etc...) but, apart from classes find it difficult to use them (can't really see the point of using some of them). This is no doubt due to lack of experience ... 14 Aug 2006 13:38
register size
I need to find the register size of machine at runtime. Does anyone know a way to do this? Regards, Martin ... 17 Aug 2006 01:32
Increment/ by C++
Jim Langston wrote: "Hoogan $$$" <fares(a)alphalink.com.au> wrote in message news:448e2f5d_3(a)news.chariot.net.au... I made many trials as writing the name of value is = 0.1 When the program runs, it outputs as: 1.1, 2.1, 3.1 , 4.1 etc. Thanks "Hoogan $$$" <fares(a)alphalink.com.au> wrote in m... 8 Aug 2006 21:45
std::istringstream woes ...
The contents of my_file.txt is as follows: 0,524288,FFF,524288,1000 1,624288,F4F,32768,2000 -1,-1,-1,-1,-1 Now given: # include <iostream> # include <vector> # include <string> # include <fstream> # include <sstream> struct wfts { int id; int vp_size ; int v... 3 Aug 2006 22:41
time function
can you tell how to get difference in minutes for two HH:MM:SS times. example, x=10:05:12 y=23:02:01 z=?????(x-y) in min ... 31 Jul 2006 07:39
hex decimal to decimal
can anyone help to write a program that converts a hexadecimal number to an decimal number ex:ac8d=44173 ... 30 Jul 2006 12:07
Keep console window open in Visual Studio 2003?
Hello, Is there a nice way to keep the console window open in Visual Studio 2003 after your application has stopped running? This question has been asked before though I haven't seen a satisfactory answer yet. One way is to start the exe from within a "cmd" box. BUT, if the program is started like this, the... 30 Jul 2006 23:45
the point of pointers
hi, Although the definition of pointers is simple and apparently directly inherited from assembly language, I can understand the point of using this notion in assembler since there are no variables definitions, hence the need to put values in memory address and be able to retrieve this value. Having (I think) u... 29 Jul 2006 21:32
Help with function
I have written this program for an assignment that requires a static member function to set a static data member, but I can't figure out how to get it to change the value once set. Would someone point me in the right direction. I'll post all of my code, but what I need help with is the static member function. Thank... 21 Jul 2006 10:05
First  |  Prev |  Next  |  Last
Pages: 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102