Beginners - March 2013 (Page 27)

diamond asterisks
 
Hi, I am a beginner at c++. I am really stuck on this question and I really need help on it. I am tr...
[7 replies] Last: See: http://www.cplusplus.com/doc/tutorial/control/ (by tcs)
A small question in strings...
 
Hello guys this question gave me a syntax error can anyone tell me how to write it in the right wa...
[2 replies] Last: ok thx a lot (by PureEvil75)
Using getline to read from a text file
 
Hello everyone I am fairly new to programming and I must say not very good at it. I was wondering if...
[1 reply] : Study this. http://www.cplusplus.com/reference/fstream/ifstream/ Try... (by tath)
by fluffy
How would you solve this?
 
If you had a bunch of test score and you were write a code to add a specific persons total score, an...
[3 replies] Last: Yes, for example: for(int tests = 0; tests < 100; ++tests) { scor... (by MiiNiPaa)
Help with Code PLEASE!!
 
I need to create a program that does this, but so far I have been getting nothing but errors. I've b...
[4 replies] Last: Pointer Help Imagine.. int array = {10,12,13,14}; //array == 10, ... (by DysFunc)
by Pebble
Array Pointer
 
I'm trying to change the value of an Int array based on the value input by the user. i.e. if 3 is ...
[6 replies] Last: The array was defined ok vlad from moscow. I used sizeof() which retu... (by Pebble)
by Smatik
Help using random numbers
 
i had the following problem in my book: #include<iostream.h> #include<conio.h> #include<stdlib.h...
[3 replies] Last: i had the following problem in my book: #include<iostream.h> #inclu... (by cire)
create a vector
 
This is what I have come up with so far, but I keep getting errors although I have been working wi...
[3 replies] Last: This is what I have come up with so far, but I keep getting errors al... (by cire)
Searching an array
 
Program works, but trying to figure out how to get it to search the array without telling me " not f...
[1 reply] : do { cout << "Enter student name or DONE" << endl; cin >> answer; ... (by vlad from moscow)
by T4l0n
tic tac toe double error
 
I started writing a two players tictactoe program, even if the program isn't complete i have an idea...
[1 reply] : You can look at my old tic tac toe game state checking algorithm. Note... (by MiiNiPaa)
Help with sentinel loop
 
I have to write a program to solve a quadratic equation and have different outputs based on the inpu...
[1 reply] : I'm also get a repeating output when I use 'Q' to terminate the loop.... (by jlb)
Keeping track of variables after being called.
 
So right now, I'm going through an introduction phase to enumerations, structures and cases with Con...
[2 replies] Last: ... Can't believe I didn't see that. Thank you, much appreciated. (by Specula)
How to check for invalid input?
 
I have no idea how to check if the input is valid or not. So please help and thanks in advance I ...
[1 reply] : You could write a character-by-character validation of the input strin... (by Chervil)
Funtion
 
What is wrong with this? #include <iostream> using namespace std; void neg_msg(char a)...
[2 replies] Last: Char can only be 1 single letter of the Alphabet. For example '... (by Stormhawk)
Access Reading Violation
 
I'm having a mostly semantic problem with my calculator program. The input string is read with ci...
[1 reply] : You code is very messy, it's seems that you started coding without thi... (by tath)
by linch
counting numbers in a text file
 
Hi guys, I have a simple problem. There is a text file with floating point numbers in it, separat...
[3 replies] Last: I thought, inputData.good() checks, if there would be a problem. But,... (by coder777)
else condition
 
where did i mistake ?? thanks
[6 replies] Last: what is the problem about the code? (by mae956)
clear dynamic linked list
 
how do I do to clear this list and deallocate the dynamic memory, I have gived it a try but I obviou...
[1 reply] : For example it can look the following way List * clear( List *p ) { ... (by vlad from moscow)
by ccmccm
SDL question
 
Hi, I am a beginner and I am trying to write a quiz program with an array. The output should initi...
[11 replies] Last: OK thanks! But now I want to make a main menu to have 3 option buttons... (by ccmccm)
packaging of a program
 
Hi guys..so i just finish learning c++ i'll say..(do we even finish learning programming? i think no...
[2 replies] Last: i use codeblocks g compiler i think...i compile it and it works fine..... (by donvigor)
March 2013 Pages: 1... 2526272829... 87
  Archived months: [feb2013] [apr2013]

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