Beginners - July 2012 (Page 7)

by oblaq
Complete Newbie to programming
 
the other day I wrote this code: // This program calculates student exam average. #include <io...
[9 replies] Last: I just wrote so much and accidentally closed my browser... Let's try a... (by closed account j2NvC542)
by abaz01
vector of strings
 
hi all im trying to write this program that take a char array and outputs a vector string where each...
[5 replies] Last: Sorry that I am so late, but this is what I did yesterday. I still don... (by closed account j2NvC542)
(Initializer list problem....
 
Hello... I am very new to c++ and I have looked everywhere to try and figure out what this code does...
[3 replies] Last: Do you have any source on this? Errr I stand corrected. I forgot I ... (by Volatile Pulse)
I have a problem with my factorial loop
 
Hey, so I have a problem with my factorial loop here: // Factorial.cpp : Defines the entry point ...
[3 replies] Last: Thanks a lot. I fixed the code and it now works well. :) (by noysoffer)
by guima
Problem returning a reference to a file with a get method
 
Hi guys, I have a class whose one of it's methods has the purpose of return a reference to a private...
[2 replies] Last: &fileReader returns a pointer to that type. (by Nexius)
Passing arrays by Reference + Return arrays in a function
 
Hi all! Could anybody give an example of -how to pass an array (either more-d or not) by refere...
[3 replies] Last: Thanks! void f( int ( &a ) ) { /* some code */ } That was exact... (by Fransje)
Encrypting a dll
 
how can i encrypt my whole dll file so that my strings arnt so easy to access in a hex editor. I ...
[2 replies] Last: you would be surprised on the history when trying to find something li... (by snaxpax)
Question about delcaring pointers
 
So I have two questions about pointers. Why can't I output *p off the bat without equaling it to som...
[6 replies] Last: Appreciate all the feedback. Thanks! (by dtaqee88)
trying to use getline to read from file
 
Hello, I am having trouble trying to use getline to get some data out of a file that was made earlie...
[5 replies] Last: Hi Nexius, I have not gotten passed using std; in the book yet. I was ... (by thumperslpss)
by carl89
Making Code faster
 
Hi Guys, I've posted my code and what it supposed to do inside the code as a comment. In my opinio...
[7 replies] Last: > I use "g++" as my compiler and compiled it on Linux Mandriva. First... (by JLBorges)
I think my "if" statement is broken (1,2)
 
Hello, I am very new to C++ and have a question about my code. The code is suposed to find the index...
[20 replies] Last: soranz, Pater87, and Volatile Pulse. It works now. Thanks for all of y... (by thumperslpss)
What's the differences of learning C++ online and the book?
 
What's the differences ;o?
[6 replies] Last: You can get "Thinking in C++" for free. http://mindview.net/Books/T... (by htirwin)
Programmers still use "flowchart"??
 
Do programmers still use flowcharts? Is it worth learning or I should skip it?
[2 replies] Last: Oh then its a must for me. (by DetectiveRawr)
by mgbuhj
mortgage calculator
 
I'm trying to make a program that calculates a mortgage using user defined integers, but I keep on g...
[4 replies] Last: Doing what Gorlash said and then erasing getline(cin, p); solved all... (by ccsdude)
by DanSto
idiot method to transform a 2 color bmp into an 2D array
 
Hello c++ers! I am quite new to that stuff, and I need a little help from you. I need to read i...
[4 replies] Last: Indeed. It doesn't get any easier than easyBmp. (by Moschops)
Easier way to get values in classes?
 
Notice the code at the bottom of this (part of the program) cout << mcsalad.getname() << " " << m...
[2 replies] Last: ostream& operator<<(ostream& os, const luckyjohn& lj) { // Second pa... (by closed account j2NvC542)
by cacti
2d array output...is odd!
 
Hi guys, new member. I am in my second term of C++ programming and for one of my projects this term ...
[1 reply] : disregard, problem solved. the issue for those that are interested rev... (by cacti)
Interval for random numbers
 
Hi. I have encoutered a problem, I wasnt able to solve. I wanted to make a program, that guesses the...
[2 replies] Last: Thanks for the response, I will look into it. (by Danwald)
Data Files
 
Hi i was wondering how to read the first line of a data file again after its been read once already....
[1 reply] : You could use seekg() to go back to the beginning of the file. This as... (by Zhuge)
string help
 
I have a customer code that should follow the format of four letters followed by four numbers (i.e. ...
[8 replies] Last: I'm not sure i understand. It still does not work. I am trying to sa... (by scu1casper)
July 2012 Pages: 1... 56789... 54
  Archived months: [jun2012] [aug2012]

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