Hey everyone i am trying to write an openGL program that uses the arrow keys to rotate an image. The problem is i can't seem to find out how to use the keys. Is there specific numbers that...
Type: Posts; User: bradleym83
Hey everyone i am trying to write an openGL program that uses the arrow keys to rotate an image. The problem is i can't seem to find out how to use the keys. Is there specific numbers that...
Where should i move it to... I was hesitant to put it in here, but it seemed to fit best.
I’m just looking for the fundamentals of algorithmic’s, not particularly in any language... just pseudo...
Great... ill see if i can get my hands on some of those tests.
Thanks alot guys.
Hey all,
I am looking for an algorithms reference that explains the concepts in a clear, and consice manner. I have the book "fundamentals of algorithmics" but i find it takes forever to get to...
I see what your getting at here, and that seems to be a good solution. However i am still unsure of why my code fails so miserabley... It has passed every test that i have thrown at it... What...
yes... i understand the error of my ways there. That was an old problem long fixed. This is a different section of code now to deal with empty files. So i do not crash my program when it tries to...
Somewhat viable? Is there something wrong with the way i solved this problem. Is yours a better solution? I couldnt see any problem with the way wrote the code. The problem was solved with one If...
i got it guys,
i used the .eof() function. The reason i couldnt get it working before is because i was checking it before i tried to read anything in, so the .eof() wasnt getting set to...
im not sure i understand what you have there. The .htm file, can it be replaced by any extension like .txt. what exactly does the stat() function do...
it is in C++ programming.
Hey everyone, i was wondering how i could skip over empty files in a directory. For example if i have a loop that is just reading in all the .txt files in a directory, and i want the empty ones to...
hey everyone i have a fairly straightforward problem that i cant seem to find an easy answer to. I want to remove the spaces from the beginning of a string. I was wondering if there is a build in...
thanks a whole bunch guys, it works like a charm. :)
char dataIn[80];
char m[30] = "222222"
char cS[30] = "CCCC"
while (!ins.eof()){
ins.getline(dataIn, '\n');
outs << m + cS + dataIn << endl;
}
Hi all, i got a bit of a problem...
char name[30];
char man[30];
.
.
.
im not sure if you have typo in your post or what... but there is no such thing as a nested if loop. There are nested for, and while loops, but no nested if loop. an if statment will execute once...