Beginners - August 2013 (Page 36)

Defining a templated class method
 
How do I define a foward declared templated class, This is what I am trying to do #include <iostr...
[no replies]
How am I doing?
 
Hello. I am trying to learn c++, and the first project I decided to do on my own now functions as I ...
[no replies]
by nimnav
Beginner, How to loop to the beginning of the program from an IF statement.
 
Hey guys, I have been playing around with c++ for about 3 months now. I am not very skilled at the m...
[5 replies] Last: Thanks guys! I'll rewrite this simple program with the switch statemen... (by nimnav)
by Willy
using external libraries with Xcode 4.6.2
 
I am taking the CS106B(stanford) course online named programming abstractions, I installed the libra...
[no replies]
"For" vs. "While"
 
Can someone please explain simply the difference between using "for" and "while" loops? Thanks! ...
[5 replies] Last: You get ninja'd when someone sneaks in a reply before you finished typ... (by Disch)
Wrong output displayed
 
Im supposed to be getting the following output: -- Write that should fail -- The filename is bl...
[4 replies] Last: Ok it worked thank you soo much for your help :-) (by firstTym)
How to create a Makefile?
 
Hi, I've been looking around on the internet for the use of makefiles and the make command. I fou...
[7 replies] Last: [quote=man make]-C dir, --directory=dir Change to directory dir before... (by ne555)
Importing data from text to array
 
I'm trying to write a program that will import data from a text file, pass that data into a set of ...
[1 reply] : I was thinking of using getline(data,arr ,'\n') and inputfile >> ws at... (by jkevin)
how to make my code runs like any windows program?
 
how to make my code looks like any windows program? i mean i want to my code open just like any othe...
[15 replies] Last: your getting terms mixed up. consoles not a level of programming. its ... (by closed account Dy7SLyTq)
Were to start?
 
In advanced, sorry if this is the wrong place to post in. So, I was wondering. I am new to C++ a...
[8 replies] Last: @fafner thanks! that looks like exactly what i was looking for! i just... (by MarketAnarchist)
by nmn
string to char*
 
if I have: string line = "ABCDE"; and I want to break this down to A,B,C,D,E where each is a char....
[9 replies] Last: I don't see any reason to use a char array here. std::string already ... (by Disch)
file writing/appending
 
How do you check if a file appended successfully or has written to a file successfully. I thought it...
[3 replies] Last: void bool test_append_to_file() { (by cire)
c++ Dynamically allocating arrays through functions
 
Hi, so I learned a basic gist of dynamically allocating information, namely in the form of arrays. I...
[2 replies] Last: Thanks! I revisited a section on passing by address, and it said that ... (by doctorlove5295)
by Klikko
A small problem with my first program using structures
 
First off, this is not a homeschool assignment, I wanted to make this after completing Einsteins Puz...
[2 replies] Last: Thank you a bunch, didn't know that! (by Klikko)
inheritances
 
Hello i am studying now inheritances and i want to understand what the difference between 1)if...
[2 replies] Last: @iliya24 Hello i am studying now inheritances and i want to underst... (by vlad from moscow)
The point of return?
 
Hey guys! I´m new to C++ and don´t really understand the point of return 0 and other return ...
[5 replies] Last: Thanks everyone for the reply! I understand it now :) (by Gulogomi)
strange Array behaviour
 
class Bird { public: Bird():age(1){ } void print() { cout<<age<<"\n"; } private:...
[9 replies] Last: thanks cubbi.. (by ankushnandan)
[Win32api] Creating countless of dialogs instead of 1
 
nvm fixed
[no replies]
Why Struct if we have classes
 
my question is why to use struct. if i have classes that i can hold with them not only different d...
[5 replies] Last: just one thing: and C++ was designed to be as compatible with C as po... (by closed account Dy7SLyTq)
Unions in C++?
 
im very fail to understand why unions are good for
[12 replies] Last: > apart from critical memory intensive applications wherein the memory... (by JLBorges)
August 2013 Pages: 1... 3435363738... 51
  Archived months: [jul2013] [sep2013]

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