Beginners - May 2013 (Page 15)

by sams
pointer in c++
 
what does it mean? return $this->getSeoTitle($this->CFG['db']['tbl']['student'], 'name' ,$name , 'class', $class); actually it is combintion of ph...
[2 replies] Last: this is a special pointer that all the instances of a class have, an... (by maeriden)
Saving data
 
So I just finished my first class in C++ and I have really enjoyed programming. I have begun to create programs of my own, but I feel that there is one aspect t...
[2 replies] Last: Your first thought was correct, but there are several ways to do that.... (by maeriden)
by blobeb
I have a question about c++/sfml
 
I have just started learning c++ and im learning from a book called 'starting out with c++ early objects seventh edition' it wont take me too long to finish the...
[3 replies] Last: Programs involving concepts you learn in the book. You can make progra... (by Daleth)
I'm having trouble with string input in a loop
 
#include <iostream> #include <string> using namespace std; int main() { string name; string city; char redo = 'y'; while (redo == 'y') { ...
[5 replies] Last: JLBorges, thank you. This solved my problem and helped me to understan... (by eyeless71)
loop problem
 
hey every one... i want an idea about the meaning of if(x %2)???? when i working with this problem i think that the initial value of x is 1 and the condition ...
[2 replies] Last: Building on what Dhruv already stated. The modulus operator (%) retur... (by Daleth)
How to find a char in a string backwards
 
Hi, how if i have the following string: "My name is Bobby" how can I find the # of where the space is before Bobby (it should be 10) I tried str_name.rfind("...
[1 reply] : I did not find out any error std::string s( "My name is Bobby" ); ... (by vlad from moscow)
Executables
 
What does it mean when a binary file is not found. I'm trying to use Eclipse to test some code but I can't even get it to run. All im doing is creating a makefi...
[1 reply] : Basically either Eclipse is not producing an executable after compilat... (by Ramzi89)
c++ program begginer
 
Write your question here. hello everyone. i been having problems with my code and i was hoping you guys could help me. this is the assigment "Write a C++ ...
[5 replies] Last: When you talk of assigning something to each name, I think you mean th... (by Chervil)
Preserving spaces in the following loop
 
I am reading the characters in one by one from a .txt file in order to manipulate them individually. I've found a way to preserve the punctuation/numbers, but ...
[6 replies] Last: The reference section of this site is very useful. (by keskiverto)
Over Filling Arrays
 
I have a loop that should fill an array with data from a text file until the end of file. when it fills the array it duplicates the last data point and adds it ...
[2 replies] Last: Thanks that fixed it (by dhilchie)
Problem In a Stack
 
Hi guys... I'm having a problem on my dynamic allocation stack...I try many changes, but unsuccessfully....When the program doesn't freeze, it says "Empty Pile...
[6 replies] Last: ... (by mystikal242)
"new", "delete", "memory leak"
 
Hi! I have read several posts in the internet, and what I understand is as follows. Please correct me if I am wrong / missing something. 1. Whatever memor...
[4 replies] Last: ok.. will need to read up more about RAII. thank you! (by abhishekm71)
Which Topics should i Learn to write a Library managment system
 
Hello, I Am a Begginner Level C++ Programmer, And Look forward in getting assistance from experts out their to Learn the Core concept of Object oriente...
[no replies]
want to find the fault
 
i write a programme to following question but it does not run correctly .what is wrong with it? question : A file is required to maintain the salary of employ...
[3 replies] Last: Works for me. Remember, you are outputting into file, not on screen. A... (by MiiNiPaa)
by Tstan
FOR LOOP Help! Sum of the Multiples
 
Trying to make a formula to show the Sum of the Multiples of a given number less than 100. Here is my code I cannot figure it out and get it to work right! Plea...
[19 replies] Last: For extra fun, think about http://en.wikipedia.org/wiki/1_%2B_2_%2B_3_... (by keskiverto)
error C2082: redefinition of formal parameter 'i'
 
could you please help me with this part.. it says error C2082: redefinition of formal parameter "i" void sorting(int x , int i) { int i, pass, hold; cout...
[2 replies] Last: Websearch with the error message finds (among other things): http://ms... (by keskiverto)
Problem converting a double to a char
 
Hi, I'm trying to make this code know if the value I'm entering for n is a letter and give me an error whenever I do so, but I'm having trouble with it. I'm ...
[4 replies] Last: Just edited the code. Sorry I didn't add it sooner, I didn't think it ... (by joey0xx)
Generate Tone C++ Visual Studio 2010 Express
 
I would like to make an application that generate a tone of a frequency of choice at 48000hz. I don´t have a code, as i can´t program at all, even though i...
[6 replies] Last: Beep() seems to reset all the time. I am trying to get a constant soun... (by zerowalker)
Filling a polybius square
 
How would I go about writing a function to fill a polybius square? This is what I have so far, but would I need a double loop instead? Also, I feel like I...
[2 replies] Last: The 'Square' object is an array of square . It follows a polybius squ... (by pinkbawks)
trouble displaying array of structs
 
here is the code for my header file. when I run the program I get this error message: Error 1 error C2679: binary '<<' : no operator found which takes a right-...
[2 replies] Last: ok so I tried that and I am getting error messages. here is my new cod... (by theswellylife)
May 2013 Pages: 1... 1314151617... 66
  Archived months: [apr2013] [jun2013]

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