Beginners - February 2011 (Page 14)

nooby mistake hopefully
 
i have two problems atm. 1) the first one is for some reason it skips the first question "clients...
[16 replies] Last: because i didnt get around to making more use off it (by thecrrrg)
Segmentation error but why
 
void stack:: pushsort(int item) { node *t=new node; cout<<"your function is...
[3 replies] Last: The problem is line 26: while( item > t -> data && t != NULL ) ... (by jsmith)
Function Include If: Calculate Circle Area
 
Hello, i've been asked to Write a C++ program that takes in the radius (as in integer) of a c...
[9 replies] Last: guys..how can i convert it to pseodo code?? (by richgirl)
by w1llux
confusion with loop
 
I am new to programming and am trying to write a simple program that calculates the number of days i...
[2 replies] Last: I'm not so sure on the algorithm of your program but I tried it anyway... (by mainframe639)
classes (1,2)
 
Hi, i know a program could be written like so: #include<iostream> using namespace std; clas...
[22 replies] Last: Sorry its took this long to reply, that helped alot, thanks :) (by TpOreilly)
how to access sql using c++?
 
how to access sql using c++?
[1 reply] : Hope this helps you. http://msdn.microsoft.com/en-us/library/ms710252... (by richardforc)
Use char in FindFirstFile() and FindNextFile() ?
 
Previous I use wchar_t because I'm using FindFirstFile() and FindNextFile() for searchin...
[1 reply] : Goto project properties->Configuration Properties->General, select Cha... (by richardforc)
Program crashes right after compiling
 
can you guys take a look at my code? The program compiles, but crashes immediately as I open it. Any...
[5 replies] Last: In my notation, 'p_' indicates a pointer. It's a useful habit I've fal... (by Moschops)
by dede
error LNK2019-LKN2001
 
Hi, Could anyone help me understand these errors please!! It complies fine, but build failed :( ...
[10 replies] Last: Yes they are all part of one project. (by dede)
C++ can't break out of WHILE loop
 
Hi all, Total newbie here and having problems with an assignment from class. Need to incorporate...
[3 replies] Last: Well it should give you error #1 as you didn't enter one of the three ... (by Zhuge)
populating an array using random numbers between a given range
 
So I'm new to programming and we have an assignment that is to populate an array of 100 elements wit...
[7 replies] Last: Well in your case you don't have a minimum range outside of 1, which i... (by ultifinitus)
Trouble with sorting
 
i am having trouble sorting the netpays of a payroll program. The program will not compile and I bel...
[6 replies] Last: Thanks. I have changed the variable spaces- now the headers are printe... (by cplusplusrookie)
How to concatenate a '*' (star character) to a TCHAR* or char*
 
Every time I try to do this will concludes with a crash: test.exe has stopped working A probl...
[1 reply] : char* cs1 = ""; char* cs2 = "..\\data\\*"; cs1 = cs2; poi... (by Disch)
Problem while write in txt file
 
Hi, i'm having a problem while writing data in a txt file. My code is this: #include <iostream...
[4 replies] Last: File IO does not work well with POD types either. The size of "intege... (by PanGalactic)
by Swirly
No matching function for custom class
 
In this scheduling program, I am trying to use my class as a data type, but my compiler seems to be ...
[3 replies] Last: Well, either you intended to use the constructor you wrote or not. If... (by jsmith)
When making class how to access private variable
 
lets say the class has a private variable double a and only one public function double Calculate(do...
[1 reply] : External methods and variables cannot access private members of a give... (by closed account zb0S216C)
Understanding Memory Buffers In C
 
I'm trying to figure out how buffers work in C. First off, I'm trying to create a buffer which holds...
[4 replies] Last: OK, thanks, Moschops. (by closed account zb0S216C)
by waynew
Libary function call
 
I am trying to figure out how to call a function in a library but I don't know the correct syntax. ...
[1 reply] : The documentation is supposed to describe what each of the parameters ... (by Zhuge)
by linoch
Writing function
 
So, the problem is: Write the definition of a function powerTo , which receives two parameters....
[4 replies] Last: The suggestions above should help you with your problem, but I believe... (by jjmcallister)
About sound
 
Is there any multiplatform library for generating and reading sounds? If not, how can I generate sou...
[1 reply] : Yes, there is. www.sfml-dev.org (by programmer47)
February 2011 Pages: 1... 1213141516... 43
  Archived months: [jan2011] [mar2011]

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