Beginners - September 2009 (Page 15)

Advanced constructor declaration
 
Hi. can someone help me interpret what this means in general? GLWindow(QWidget *parent) : QGLWidget(parent) {} //especially this line The top line is th...
[5 replies] Last: All the function defined in the class body are inlined - as long as th... (by Bazzy)
forming an letter X asterist pattern problem
 
i can't figure out what to do... i only have this code... #include <conio.h> #include <stdio.h> int d; main (void) { clrscr(); for (d=0;d<=9;d++) ...
[no replies]
by mareon
macro warrning
 
Hi, how can i turn this warrning off: warning: anonymous variadic macros were introduced in C99 P.S.: i use cygwin. thanks a lot for each suppor...
[2 replies] Last: http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html (by Bazzy)
problem compiling n editplus 3
 
i am getting this ouput when compiling by editplus 3. i have configured user tools properly by giving Borland/BCC55/Bin path. i need suggestions to rectify ...
[6 replies] Last: i am directly opening the file into editplus editor. using user tools ... (by ceeemor)
what is wrong in my simple code
 
// progtam to input some integer values and get their sum. #include <iostream> using namespace std; int main() { int a ; // Declare an array of 1000...
[12 replies] Last: thank u friends for ur positive feed backs. i am marking this topic as... (by ceeemor)
A problem adding an icon to a console program
 
Hey all! Im having a problem whenever i try to add an icon to my console program in dev-c++. I use project options menu to change the icon, and when compi...
[3 replies] Last: Nvm, sorry i took your time, i restarted my pc and created a new proje... (by award982)
Good way to program?
 
Hey, I was doing the Cola Machine exercise by Blitz Coder and I just wanted to ask if this was a good way to do it or are there more efficient / better ways? ...
[2 replies] Last: Thanks helios.. never noticed they were ALL exactly the same.. xD I ch... (by bluezor)
New to the c++ world.
 
Hello everyone. I am just now starting to get into C++ and could use a push in the right direction. I have worked with VB.net before, but not very much. I have ...
[4 replies] Last: Here is a free ebook (Thinking in C++, by: Bruce Eckel) http://www.mi... (by eker676)
by NGen
Typename confusion
 
I know how to use typename, but apparently it's not supposed to be used in this sense: template < typename SignedOrUnsigned > class ForFileIO { public: ...
[2 replies] Last: Alright, thanks. (by NGen)
C++ practice/exercise
 
I am reading the tutorials to learn C++, but I need to practice otherwise I'm not going to remember what I'm learning. Does anyone know a way for me to do some ...
[8 replies] Last: Anyway, with C++0x switch should work with any type Ooh cool!... (by firedraco)
by mareon
static construction time.
 
Hi all, can anybody explain me-mybe through example too- what is the meaning of static construction time? and what is the difference between static const...
[2 replies] Last: Notice that there is also a third type of allocation, the automatic on... (by Bazzy)
by joshky
dynamic arrays
 
OK, the following works on Dev-CPP but on Visual it throws up erros saying size of array unknown? Why? int size; cout<<"\nEnter Size: "; cin>>size; char...
[4 replies] Last: dev-cpp must have non-std extensions enabled or simply isn't following... (by kempofighter)
by jango
Linker problem
 
Hello, I'm new to C++ and I'm having a small problem working with templates for a generic tree. For practice I'm making an Npuzzle solver. Since I already m...
[4 replies] Last: Ahh, awesome. Thank you for answering to my stupidity. Everything comp... (by jango)
Simple algebraic linear equation
 
//I have no idea why this isn't working. Logically I'd figure both the formulas would work but they don't. Try and get a negative slope, and then type y to find...
[3 replies] Last: Your formula should not depend upon whether the slope is positive or n... (by jsmith)
Very simple 2D graphic library
 
Hi guys Just wanted to see what everyone thinks is the easiest, quickest, most efficient, opensource, cross platform 2D drawing library that can be used; bas...
[8 replies] Last: I'm not sure, but if you want to quit you should check for SDL_QUIT: ... (by chrisname)
Valid Expressions and Data type usage.
 
I been having trouble on valid expressions and data type usages. If intger deals with numbers ; than when do I know when to use double? For example: 18 - (5*2...
[11 replies] Last: Yes, sorry, missed the parenthetical statement. (by jsmith)
Differences in const in function declarations
 
If a function is declared as virtual const string toString() const; what do each of the const declarations do?
[5 replies] Last: Yes, it should be const as long as operator<< does not modify Object (... (by jsmith)
by Bv202
For-loop problem
 
Hi, I have some strange problem I don't really understand. Maybe I'm missing something very stupid, but I can't figure out what I'm doing wrong So I have ...
[15 replies] Last: Well, to compare vector iterators to pointers you have to use pre-incr... (by jsmith)
by coolKK
Strange behaviour of RWTime Class
 
I have one doubt about RogueWave's RWTime Class .... I am seeing some strange results when I am trying to find out when the DST starts and ends on different...
[6 replies] Last: Have you not looked at the source code? I can't, I've not used Tool... (by kbw)
Communicating with hardware!
 
I was wondering... Is it able to create a C++ program (console) which is able to communicate with processor where you could set how much processors are gonna wo...
[5 replies] Last: Setting affinity requires system calls. It's something unrelated to... (by mr zdeis)
September 2009 Pages: 1... 1314151617... 23
  Archived months: [aug2009] [oct2009]

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