Beginners - August 2012 (Page 14)

by gta100
How to stop user input by typing a specific string?
 
Hi everyone! I am having issues with how to terminate an input stream with a specific pre-defined st...
[4 replies] Last: Uhh, I suppose you could do it like this: while (name != "NOMORE") { ... (by Phil123)
path vector to character array
 
I have a vector named v, which is a boost/filesystem path vector, with a bunch of filenames in it. ...
[1 reply] : Is it a vector of strings? If it is you can use the .c_str() member fu... (by Computergeek01)
Help!
 
I have syntax error here: // wew.cpp : Defines the entry point for the console application. // #in...
[7 replies] Last: Use notepad++ very good (by Aceix)
strtol
 
I have a number that is between 1 and 3 digits long inclusive and wanted to convert it to a long int...
[2 replies] Last: oh, so thats why if change it to 3 it only allowed numbers [0,1,2] but... (by hitholdir)
by ajbm6
HELP!
 
I'm new to c++ and I have a problem with my project. This are the clues. Convert an integer to st...
[4 replies] Last: the function and the loop.. (by ajbm6)
problem with signal() and kill() functions
 
Hi everyone. I'm new in c and now I'm studying how the process signals work. I was trying to crea...
[3 replies] Last: If fork() returns 0 then you are in the child process, so the parent w... (by mik2718)
beginners
 
im the begginers of C++
[8 replies] Last: Back in my day, I didn't have internet to ask for help. Taking program... (by Volatile Pulse)
by tone
Next prime number
 
Hey there, I'm trying to develop a program to read the next prime number of any number given. ...
[6 replies] Last: 1_ Instead of the inner loop, call a function for(int candidate = n+1... (by ne555)
Array of structs - deleting/adding elements and printing
 
Hi, For the below code struct orderSlip { char source ; char destination ; char item ; int ...
[5 replies] Last: As for deleting/creating objects, I'm not very familiar with C in th... (by Lowest0ne)
If I give a user a choice between 3 objects, how can I use the one he chose for the rest of the program?
 
At the beginning of my program asks a user if he wants monster A, B, or C (all from the same class)....
[5 replies] Last: I used a pointer because I had to. The benefit is that I know there w... (by Lowest0ne)
Definition of question needed
 
Hi all, Hope you all fine.This is my first topic and very simple one. I just want to know how to ca...
[2 replies] Last: Thank you very much vlad! I was planning to printing each model 1.co... (by vichu8888)
Data file handling!
 
I am making project(game) in c++. i want to store score and display in such a way that the score wil...
[3 replies] Last: This is what i did i dont know where do i do changes for I am making ... (by smile58)
by takzee
overloading <<
 
Hi guys , I tried to overload the operator << but I have no idea how it works and no idea why it doe...
[7 replies] Last: Somehow I moved the function out of the class and it works just like s... (by takzee)
Area Cube
 
I cannot understand this coding. Can Someone please explain to me this program. #include <iostrea...
[6 replies] Last: Thank you (by prabhanuka)
Stuck in Global Variables
 
I'm doing some of my own examples to practice c++. So I have a doubt why it is using "void" in void ...
[6 replies] Last: Thank you very much (by prabhanuka)
Payroll Program W/ Employee Class
 
Man I'm learning more and more every day and some of it is tough and some not too bad. I am now usi...
[4 replies] Last: I figured it out! Here is my final product: #include<fstream> #inclu... (by LaC0saNostra)
MenuStrip Action Function
 
Hey there I'm very new to this and may (most probably) got a few things wrong, but I'm doing the be...
[2 replies] Last: Thanks for your help, I'll check it out in the morning -yawn- But yea... (by Naximan)
by Madguy
Simple while question
 
if (num1 > num2) { while (num1 > num2) { num2...
[6 replies] Last: Could you post all of your code so we could examine it? (by closed account 17pz3TCk)
Problem with easy solution
 
Hello i'm new to programming and wondering what is wrong with this code I wrote. I am on mac osx 10...
[4 replies] Last: Thank you, it works fine now. I knew generally how if statements worke... (by Colvillain)
Armadillo and XCode
 
Hi all! Very simple question, I think, but I have started to learn C++ two days ago... I am tryin...
[4 replies] Last: Ok...so, I could not make it work. However, I switched to Eclipse, and... (by carlosmg1982)
August 2012 Pages: 1... 1213141516... 45
  Archived months: [jul2012] [sep2012]

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