Beginners - January 2010 (Page 13)

by name
Use of -1 in bit mask portable?
 
Hi. I'm new to programming so please forgive me if this is an obvious question. I couldn't find a us...
[5 replies] Last: Yes, there is a lot of hardware, some modern, that doesn't use two's c... (by Duthomhas)
I need some instructions on this problem
 
Hi everyone, I have a problem to solve, but I have no idea where to start. If anyone can help me wit...
[3 replies] Last: // MIN // Initialize min outside the for loop. you can take the very... (by van)
by Vexx
Gah, problems >.< (1,2)
 
Hello guys, So I am writing a couple functions to print to console, the first one prints single d...
[26 replies] Last: I think that it is OK for OP, as a college student, to proceed with do... (by jsmith)
by kole
undefined reference to `mysql_get_client_info
 
Hi, I am trying to compile following, very simple C code to connect mysql database: #include <...
[no replies]
i want this answer rapidly plz (1,2)
 
what is the difference between stack and queue and linked list
[22 replies] Last: http://en.wikipedia.org/wiki/Binary_tree (by Bazzy)
by Ray B
Setting an array equel to another array
 
I have a problem setting an array equel to an array that I retrieve from memory (using boost library...
[6 replies] Last: Or you can use strcpy_s(), which checks that the 'to' c-string can fit... (by wasabi)
by cams91
factorial of negative integer
 
here's my program. my problem is that, everytime i put a negative integer the ouput is 1. how can...
[8 replies] Last: np, also note that the program does not validate input, so if the user... (by gcampton)
by Raf Sa
A Begginer to C++, and in need for some guidance
 
Good Day, My name is Raf and I'm from Saudi Arabia. This is my first semester studying C++, and I ...
[7 replies] Last: Bazzy puts up an exercise.. i think the bunny exercise there is really... (by blackcoder41)
typedef compilation error
 
Whenever I try to build my program, (code snip here): using namespace std; typedef vector<i...
[3 replies] Last: cool~ (by phikaa)
My First Program
 
I know it's a little basic but it works and it does get harder as they go. I made this a while back ...
[no replies]
Heap Corruption!?
 
I have a small program that compiles and runs, but after execution, Visual Studio is giving me the f...
[3 replies] Last: Well, that explains it. Originally it was allocated from the heap and ... (by davermont)
by GRH
Short Question
 
If two algorithms have the same order of complexity, does it matter which one you use? I'm leaning t...
[9 replies] Last: One algorithm might loop through n elements once (n) and another might... (by moorecm)
Pointer to an array of pointers.
 
I am trying to figure out a run-time exception I get on line 53 below. I am trying to create a new N...
[7 replies] Last: Thanks, that constructor was the problem. (by davermont)
My first program
 
Hey this is my first completed program. Very basic, but I tried to incorporate serveral aspects into...
[8 replies] Last: Glad to be of assistance. (I've said that a total of three or four ti... (by tummychow)
Type convertion error in VC++
 
This is my code: int num; int* p = &num; const int** pp = &p; I use VC++. The third line g...
[5 replies] Last: Think of the const not as applying to the pointed-to data, but to the ... (by helios)
array of objects using dynamic memory allocation
 
Hi I have a homework problem I would need a hint for. I need to create an array of objects using...
[7 replies] Last: Gee That was an embarrassing error... Super thanks for the quick res... (by hadoque)
Classes
 
Design and implement a class dayType that implements the day of the week in a program. The class da...
[1 reply] : I hope you don't expect anybody to do that for you. That withstanding... (by tummychow)
Append Records
 
Anyone can guide me? I wish to append one more record to the sample.txt Eg, 5 Thai Pon_Mak 0...
[3 replies] Last: void appendR (fstream& infile, char filename ) { //why use bina... (by blackcoder41)
by tr6r
repel cusor
 
I would like to create an application that can be incorporated into a simple HTML web page I am crea...
[7 replies] Last: Use this index, it's the best I know of, and is what I use when my boo... (by gcampton)
argument of type `int (CaloCell::)()' does not match `int'
 
Hey guys, Pls help, I'm trying to compile the following program: #ifndef CALOCELL_HH #define...
[3 replies] Last: ...and the semicolon should not follow the body of the constructor. (by moorecm)
January 2010 Pages: 1... 1112131415... 24
  Archived months: [dec2009] [feb2010]

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