Beginners - August 2012 (Page 2)

by bdolr
Trying to make program for my daughter
 
Hi guys, brand new to the forum, and programming in general. I just started learning how to use c+...
[19 replies] Last: Will do. Last night i was watching videos on youtube, made by krashcou... (by bdolr)
Header file problem
 
I have written this program-> //header.h #include <iostream> #ifndef HEADER_H #define HEADER_H ...
[2 replies] Last: Thank you actually i forgot to mention the namespace std. (by bigo005)
by mahone
f()=X()??
 
Hey, Please Correct me if I am wrong,when an expression contains '=' sign then the expression on ...
[3 replies] Last: so, is = a member function of every class by default? Yes.... (by Peter87)
help with const char's and string literals!
 
I am completely stuck in comprehending Sections [10.2] String Literals revisited and [10.3] Initiali...
[1 reply] : It's not that char arrays are different. It's just that the operator<<... (by Peter87)
by mahone
Default constructor????
 
Hey, I was going through the following Example in my book: class X{}; X f() {return X();} void g...
[1 reply] : If no constructor is declared for a class then the compiler declares t... (by vlad from moscow)
is this unconventional or bad form? (cont..)
 
The previous thread wouldn't let me edit so here is the code I was posting. #include <iostream> ...
[5 replies] Last: Everyday, I am surprised by the courtesy of everyone on these forums. ... (by RastaWolf)
printf() : header file not required???
 
in C language we make use of printf() function for standard output. from all the resources i have re...
[1 reply] : You are using an old C-compiler that follows the C89 Standard where fu... (by vlad from moscow)
How would i go about doing this? I am new to C++ and taking a class for it, and just want to see what this might look like.
 
What would a code segment look like that defines a class definition for student, also including two ...
[1 reply] : class student { // members, usually left private public: Type f... (by ToniAz)
by Ch1156
Problem (1,2)
 
Ok, i was doing well but my program is big and i got confused, im not sure what is wrong. #includ...
[30 replies] Last: OR, i was learning about child and parent classes, i think there calle... (by Ch1156)
is this unconventional or bad form?
 
Hey everyone, I've been working on a text analysis program for personal practice and I came acros...
[15 replies] Last: Wow thanks a lot LowestOne! It's not impossible at all, in fact I did... (by RastaWolf)
by bxdin
Help fix pop_back function for int vector
 
The 3rd to last line is reporting the incorrect size. #include <iostream> #include <cstdlib> usin...
[1 reply] : Look at line 32 and 69 then report what you find. (by Anthony Hernandez)
by CppJim
Inputed String to Int Variable Help
 
Hello, I am working on this program to store 5 strings and turn them into variables, And then ru...
[2 replies] Last: Thanks, Right now the User inputs five numbers and then a While Loop, ... (by CppJim)
by gunnac
Random Number Generation
 
Hello I am new here and I have a problem... I have tried to write a random addition problem generat...
[5 replies] Last: Anyway is there any chance this is a new development No. All pRNG... (by Disch)
Comparing in 2d Arrays
 
Here's part of my code: bool isMagic (int magic , const int row, const int col) { int orig...
[4 replies] Last: int i; int sumr0 = 0, sumc0 = 0, sumd = 0; for (i = 0; i < 4; i++) { ... (by ToniAz)
by ar123
Using char as record
 
Hello, I would like to be able to use a char instead of an int to store the record (variable n) for ...
[3 replies] Last: May someone please help? I have until tomorrow to finish this. I tried... (by ar123)
Save to *.csv from consol
 
I am trying to figure out how to save values from my program to a *.csv -file wich can be read and a...
[1 reply] : Use std::fstream (by vlad from moscow)
What do I benefit from using cin.ignore();
 
I am sorta in about my 2nd week of C++ and using tutorials to teach myself programing. I came across...
[2 replies] Last: cool, I guess that makes it simple. I am gonna try to use this now on ... (by afonze30)
Help? Circular Dependency error
 
Okay so we have a project where we need to have a list of clients for a consulting firm: For Clienta...
[3 replies] Last: OK. The compilation errors have to do with the BubbleSort function. F... (by soranz)
decimals
 
if I wanted to take the blow and produce 3.0000001, what would I define c as ??? ??? c = 5.0 - 1....
[4 replies] Last: I should be able to do it without the setprecision. idk.. frustrati... (by rkstengel)
Debugger does not stop at breakpoint at specific loop in code
 
Hello everyone I am working on Ubuntu 12.04 with Code::Blocks and the GNU GCC Compiler. The p...
[2 replies] Last: Hi, thanks for your reply. I have set the breakpoints on virtually an... (by LouisPhilippe)
August 2012 Pages: 1234... 45
  Archived months: [jul2012] [sep2012]

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