Beginners - November 2011 (Page 35)

Sorting a vector of structs
 
Hi, I am trying to sort a vector that contains pointers to structs. I read a lot in the internet and...
[6 replies] Last: Thanks a lot to all of you, I was able to solve it now. (by Sandermatt)
Confused with game show program.
 
Hi. I'm currently taking a C++ course, but I'm having a bit of trouble understanding how to complete...
[no replies]
by Sathed
Confused about Forward Referencing with classes
 
I'm a little confused about forward referencing. If I'm not mistaken, this should work, correct? ...
[2 replies] Last: Ah! Exactly what I needed. Thanks! (by Sathed)
Bool Functions???
 
I am attempting to write a program that will allow someone to play the matching game. The problem I ...
[2 replies] Last: Basically I was told by my professor that I need a bool function. Im t... (by DeepThoughtEli)
pseudo code download?
 
i have to use pseudo code to do a project but i never used this before so i was wondering where coul...
[9 replies] Last: ok thanks for the help (by beginner123)
is my selection sort right???
 
void sort(int *array, int size) { ...
[no replies]
Help with a Lib Program
 
I'm writing a program that reads txt file that has a mad libs story in it like this Zoos are plac...
[no replies]
String Array homework help
 
Hi, this is my first post so forgive me if Im missing something anyway I have to write a sudoku pro...
[3 replies] Last: You can use the string's length function to determine the number of ... (by shacktar)
why C++ has both struct and class????
 
C++ is a super-set of C language...C language has struct ( structures ) while C++ has struct and cla...
[6 replies] Last: Classes do the exact same thing, as in the code below. I didn't kno... (by codekiddy)
I keep getting error C4430: missing type specifier - int assumed. Note: C++ does not support default-int!
 
I have a very simple struct. In a file called grades.h I have struct grades { string studentname...
[2 replies] Last: Aha! Thank you! (by Katie Bartha)
Help with homework!
 
Is this valid or not? Explain. If correct what will be values of variables involved: Code i...
[6 replies] Last: anyone else have anymore input on this? Seriously, just read what a... (by Moschops)
Reading from a file to an array
 
I have a file with ~180 lines, on each line is just a 0 or a 1. I would like to create a routine tha...
[1 reply] : Managed to get it working but I'm unsure if this is the best method, a... (by Chunder)
C++ Graphics library...
 
kindly tell me there is any standard C++ library for Graphics????? ( using colors...circles...graph....
[3 replies] Last: thank you sooooo much ....... :) its really knowledgeable for me..... (by raheel54)
C++ Tutor Needed
 
Hey !! Guys ..I need a tutor just for two hours for C++ programming. Please let me know if ur intere...
[no replies]
string class wchar_t?
 
Does the string class in c++ support wchar_t ? or is it just char ?
[1 reply] : It is just char, but you can use std::wstring instead which is the one... (by webJose)
Inheritance/overriding - my display function doesn't seems to print out the information from the derived class!
 
I instantiated 5 generic Employee (base class) and 2 OrdinaryEmployee (derived class) But when the d...
[4 replies] Last: You should use the new keyword when you do the assignment. e.g. ... (by shacktar)
templates notorious to debug?
 
hi I've heard from word of mouth that templates are notoriously difficult to debug and have begu...
[no replies]
Passing a Vector as an argument?
 
I'm writing a program which passes a vector as an argument to a function, only I don't know how to p...
[11 replies] Last: Bump. Edit: I finally found out how to do it. I don't know why you guy... (by closed account yCf9216C)
Setting compiler settings through code.
 
Hello, I was wondering if there's a way to 'force' compiler/command line flags in the code, to en...
[1 reply] : Usually that's done with #define of #pragma. But I don't know if all ... (by coder777)
by ty98
consle color
 
I need to know how to set the color of a console program. I can use system("color 01") but you ...
[6 replies] Last: [quote=yet5438]the former can't show anything but the latter can? bca... (by coder777)
November 2011 Pages: 1... 3334353637... 65
  Archived months: [oct2011] [dec2011]

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