Beginners - July 2008 (Page 2)

Compiler Warning 'pointer from integer w/o cast'
 
In a function that writes data to a file (using a custom fn writeAsText() ), I call a function that parses the data from another file: void writeBootup(FIL...
[11 replies] Last: I'm sorry, it's just an omission when I copied the line by typing (I r... (by toshiro)
Why am I getting these error mesages?
 
I am getting the following error messages when I compile: sudoku-modified.cpp(82) : error C2628: 'Sudoku' followed by 'void' is illegal (did you forget a ';...
[5 replies] Last: You can check each row and each column individually. If you don't fin... (by Mitsakos)
by rss14
My program closes when I press enter . . .
 
I am a noob, so bare with me. #include <iostream> #include <string> #define pi 3.14 using namespace std; int main () { double C; int...
[1 reply] : See: Console Closing Down http://www.cplusplus.com/forum/beginner/1... (by closed account z05DSL3A)
Function and array
 
I need some help over here, this is my code for the program that adds 32 to a character so that the output will be lower case. But for what i have written, it s...
[4 replies] Last: The more elegant way is simply to change the character_traits class (t... (by exception)
Comparing strings inside an if statement. [Solved]
 
Well, my string is named pick and right after I ask the user to input either "withdrawl" or "deposit" I want to use an if statement to decide which it is. I tri...
[2 replies] Last: Thanks, I must've forgotten a bracket or something the first time. I t... (by alucard012)
[SOLVED]"new" operator compile error
 
Hi all, I hope you can help me with this: when using the 'new' operator in this line: char *numbuffer = new char[len+1] (with len being defined, no w...
[5 replies] Last: @bnbertha that's what I was trying to angle around to eventaully - t... (by guestgulkan)
What is it that I'm just not getting?
 
How would I got about appending an integer to the end of a string? I'm a former java programmer, so I would use stringName = stringName + intName; What is...
[12 replies] Last: Ok? I'm just a 17 year old ,living in South Africa, who want to learn... (by JamesWL)
simple calculator program
 
i have just learned the basics of c++ and i have written a simple calculator program which worked. but i would like someone to help me with a code that could ma...
[2 replies] Last: http://www.cplusplus.com/reference/clibrary/cmath/pow.html And in c... (by mikeb570)
XO - Please Read this and Reply.
 
A couple of days a go i was stuck with my X & O Game or as i call it Tic Tac Toe xD Well anyway i got a bit confused and remade the input function. But i ...
[6 replies] Last: The obvious ommision is the {} pair arround the body of the while loo... (by Faldrax)
by Otto
Broblem with resources
 
Well, I borrowed a DirectX Trainer book from library, originally for learning DirectDraw, it was published at the time of DX 7. There was a code of how to ge...
[6 replies] Last: Thanks alot, that helped much. (by Otto)
by jmc
C++ libraries als zip
 
Gibt es einen Ort, wo ich die C++ Libraries als zip downloaden kann? Insbesondere auch die C - Libraries von dieser Seite z.B. stdio, stdlib, ... Vielen Dan...
[3 replies] Last: Sry, I didn't realize that this is an english forum... Yes, I was loo... (by jmc)
how to create adjacent arrays in memory
 
Hi i'm new to programming. I wanted to create two integer arrays which are adjacent in memory. i had written the following code, but i'm getting segmentation f...
[4 replies] Last: thanks bnbertha...i got it now (by sudeepta)
Simple way to clear console?
 
I was just wondering if there was a simple quick and easy command to clear the console screen?
[2 replies] Last: system("cls"); and people will be like BLA BLA BLA about system com... (by Evote)
simple tic tac toe game
 
Hi, recently i made a program during my spare time.It's tic tac toe. I was wondering if anyone could help me improve it in terms of coding, or organization, bec...
[5 replies] Last: Lol Well.... I'm trying to fix it :D what compiler you use cause if i ... (by Evote)
Some suggestions to test skills
 
Hey there, I'll try to be short and to the point I have just learnt the basics and a bit more of C++. To be precise I know about control structures, classes,...
[6 replies] Last: Ohh Thanks a lot to you to helios for replying :) Cheers (by rockinruler)
Which is best compiler?
 
Hello, I thank everyone who has been helping me get started on C++. I am now trying to figure out the best compiler to use. As of now I have Dev-C++, although I...
[2 replies] Last: I use VC++ 6.0 ^_^ " I just figured I would ask incase I was starti... (by nhimxivn)
by activ8
Where a number in an array would fall
 
Hi guys, I'm having a problem doing a homework assignment. I've got everything to work so far, but I'm stumped on part of it. I'm trying to have the program ...
[2 replies] Last: Agree (by kadyssss)
It still works!!!... It still works???
 
I have implemented Conway's Game of Life (http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) into a C++ program and here it is: #include <iostream> usin...
[no replies]
Little Ploblem with " Hello World"
 
Help Please! Can anyone tell me what does this mean? (Screenshot) http://www.turboimagehost.com/p/558885/Screenshot.png.html and how to fix it? Please ...
[4 replies] Last: So what do I have to do to compile that " Hello World " Once and for a... (by PSPMAN90)
IS mouse pointing highlight possible?
 
My teacher said we should develop a program where in ADD EDIT DELETE EXIT will appear in the screen...AND we have to make them highlight whenever we ...
[4 replies] Last: Specifically, we need to know what OS you are using, what brand and ve... (by Duthomhas)
July 2008 Pages: 1234... 15
  Archived months: [jun2008] [aug2008]

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