General C++ Programming - October 2010 (Page 20)

GUI
 
Hello everyone I want to create a GUI for my program to run on windows this program recieves three...
[3 replies] Last: thanks coder777 i will see how to get my hands on it (by yuhobebbho)
by Kyon
OGL linking
 
Hey, I'm back with another simple question about linking; what do I need to link to when using OpenG...
[4 replies] Last: Just one thing; do I have to include any libraries (if so, which)? (by Kyon)
Username as directory name
 
CreateDirectory("c:\\u", NULL); cout << "Enter Username : " << endl; cin >> username; CreateDire...
[3 replies] Last: If I change that I will have to change It's the same thing. Jus... (by Disch)
myfile issue
 
Ok so maybe some of you were wondering what I was working on here is all of my code, #include <iost...
[4 replies] Last: That works PERFECTLY. Thank you. You're fixing a lot of problems that ... (by LittleQuick)
Random Number Generation (Clock?)
 
The following code did not seem to work for me in Visual Studios C++ 2008. #include <iostream> ...
[2 replies] Last: WOW. Thank you hahaha. Can't believe I missed THAT. I usually notice d... (by LittleQuick)
How to fwrite a char array pointer?
 
I have a char array called: char buffer made up of characters read from a txt file using fread. ...
[no replies]
Struct member change without reason
 
Hello everybody. I am having this problem: (Code) cout<<"D)x is "<<x->key<<endl; y->parent...
[3 replies] Last: the only way that would make any sense would be if 'x' somehow pointed... (by Disch)
Quicksort Troubles
 
I am trying to make a function that uses the quicksort method of sorting. The thing I am having trou...
[4 replies] Last: How would I edit my code to work properly? At least to return properly... (by MottMan)
by saik
User defined datatype in STL
 
Please provide an example and explain how does a User defined data type work in STL. Thanks
[1 reply] : That really made no sense to my eyes, could you explain what you mean ... (by Kyon)
Matrix Program
 
Working on a C++ program for a M*N dimension Matrix. The elements can't be more than three digits-I ...
[1 reply] : Hi I used floor(log10())+1 to get the number of digits in each fiel... (by sbk)
child + parent objects
 
OK i really stuck on this project, as i been developing an game engine, which is mmorpg based like w...
[3 replies] Last: Hi thanks for you feedback, we do currently use QT but originally we ... (by dazzlecms)
Class Memory Allocation Size
 
Hello Friends, I have a question for allocation of memory to classes in C++ Pls have a look at...
[9 replies] Last: Your code doesn't compile. I change this: //void (Foo::*fn)() f = &F... (by ne555)
Texture binding in OpenGL acting like a filter for every other pixel's colors
 
Hi, I was wondering if somebody ever had the same problem that I have with a texture binding. I a...
[1 reply] : No clue, anybody ? (by teupoui)
Interpreter Errors !!!!
 
In my interpreter member functions are not declared in a class. I tried declaring them in a class b...
[12 replies] Last: Thanks a lot. =) Now I only have 1 error left in the code and it has s... (by shadow29014)
how to use metaCommand for vectors
 
Hi all, To manage arguments (input, output, parameters) I want to use the library <metaCommand>. ...
[no replies]
size of static data member
 
Hi, When I I tried to determine the size of static data member and found the size of class was 1. C...
[2 replies] Last: sizeof(sample) operator returns the size that an object of type sam... (by Bazzy)
what is keyword in C++?
 
Can you explain me what is keyword in C++? Is it a function? When I write a program like that, it wo...
[3 replies] Last: new and delete are functions ( operators ) defined in <new> but th... (by Bazzy)
Difference between C++ and C# ?
 
I was talking to a teacher friend of mine who said that at the University in Newcastle NSW they are ...
[13 replies] Last: How are patents related to being cross-platform? Probably most of thos... (by xorebxebx)
by Andysh
Offline C++ Reference
 
Hi, everyone! I'm compiled reference part of this site in windows CHM format: http://www.megauplo...
[no replies]
by Citis
if (a=1) , what does it mean?
 
My compiler doesn't warn me if I write if (a=1) instead of if (a==1) . Why? What does if (a=1) ...
[7 replies] Last: shouldnt this be in the beginner forum??.....i am a noob at C++ and i ... (by sloebereu)
October 2010 Pages: 1... 181920212223
  Archived months: [sep2010] [nov2010]

This is an archived page. To post a new message, go to the current page.