Beginners - September 2013 (Page 61)

by bexeo
Okay, what am I doing wrong here?
 
My first assignment for my CS class is to rewrite a simple program and to add the correct preprocess...
[3 replies] Last: Oh good, and yeah that's what I'm thinking. I've tried installing Cygw... (by bexeo)
Hello World
 
Ok i really need help , im a beginner at c++ in college and learning the basics Im using the right t...
[11 replies] Last: OK I got it Thanks alot guys! (by Alove9423)
by jenaf
C Memory cleanup struct array
 
Hi there! I'm not quite sure how to clean up memory, and i don't wanna have a mem leak. typd...
[6 replies] Last: In the code you showed you allocated memory only for 20 items of type ... (by vlad from moscow)
Square area
 
Write the program, square.cpp, to calculate and print the area of a square. Assume that the sides o...
[10 replies] Last: I am not upset at all, just telling him he doesn't need it. No bad fee... (by Superdude)
by eastw
Nested Loop Pattern
 
Guy,i need help with generating following nested loop pattern. *^*^*^*^*^*^ *^*^*^*^*^ *^*^*^*^ *^*...
[14 replies] Last: if(b % 2){ cout << "*"; break; } cout << "^"; Many ... (by ciphermagi)
Friend Function is not showing any output..
 
Friend Function is not showing any output. Friend function is not printing anything !! #includ...
[2 replies] Last: Same here..it works fine of Visual studio 2013... (by gomson)
by Aibsr
copy c'tor and ass. operator
 
Hey everyone, whats the difference between the copy constructor's implementation and the assignme...
[2 replies] Last: Instead of wasting time posting questions here, spend it reading the m... (by Josue Molina)
by Aibsr
The big 3-Copy C'tor, D'tor, Ass.op
 
Hi guys, I was wondering about a statement I was told during my OOP lecture: "If you need one of...
[4 replies] Last: Also forgot to mention that we want Our objects to use their own Copie... (by Gkneeus)
by Goedel
Accessing class variables within a vector of this class, in a function
 
Hi, I just want to know if I can spare some code by accessing diffrent class variables within vect...
[2 replies] Last: I've now transformed my function to a member function of the class. So... (by Goedel)
Need help averaging a 2d array
 
Hey guys, I found some code online in order to average a 2d array but I can't seem to find the probl...
[13 replies] Last: There's a huge bug in your program: in main , you're setting both ind... (by Josue Molina)
console program requesting criticism
 
Intro: So new to c++ (obviously). I made a console program for my course and already turned it in...
[1 reply] : try while(total <= 0) what I didn't do right. your smart ass "Err... (by SamuelAdams)
Returns help!
 
Help me understand Return statements. Basically all they do is when you end the function it will do ...
[3 replies] Last: No.... but sometimes I think I could have been. ;P (by Disch)
Generating unique numbers.
 
Hello masters. I'm new to programming and we have this school project that we need to create a lotto...
[6 replies] Last: I don't know how to validate numbers so it would give an error if I ... (by condor)
Array
 
when i run this program, it give number 10 and then stopped working plus the process returned with a...
[8 replies] Last: now i do understand your example, and realised its value keep changing... (by Ladyney)
by SoIAS
C++ and Websites
 
Hello, I wanted to know where should I start when I wanna create a... let say program by which I ca...
[2 replies] Last: C++ isn't really suited to those tasks. You need something more web-o... (by kbw)
Loop in Turbo C++ .
 
Hi. Im having a hard time to formulate a code and the result of the output are 1. n=3 Output : * *...
[5 replies] Last: #include <iostream> using namespace std; void printAsc(int n) { fo... (by gomson)
Need help with error
 
I'm getting the following error when trying to compile the following function: "Error: invalid o...
[1 reply] : Date.getDay() << "/" << Date.getMonth() << "/" << Date.getYear(); ... (by MatthewRock)
beginning programs
 
So my teacher isn't very good at explaining things and I understand code a little bit when I toke a ...
[9 replies] Last: Also, there are a few programming practices to think about: Spell Che... (by Whisker Biscuit)
How do i make a program display the time in a txt file every 2min?
 
I want to make a program that displays the time every 2 min in a txt file but idk how to do it.I wro...
[5 replies] Last: I am on Windows. Hzj jie i want it to keep writing the time every so... (by Nitrosolid)
by aggsyb
Naive question , why use c++ ??
 
Ok this is extremely naive/broad but I have to ask... I have been part time programming console apps...
[13 replies] Last: If you're really not worried about how your program UI looks for now, ... (by ciphermagi)
September 2013 Pages: 1... 596061626364
  Archived months: [aug2013] [oct2013]

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