Beginners - October 2010 (Page 16)

Not Displaying all of my character array
 
i was having an issue earlier with my program displaying garbage but i think i figured out that problem. my program gets 3 pieces of info a "tracking number" a ...
[7 replies] Last: Read the second link that I showed you completely. You need to skip p... (by kempofighter)
does dynamic memory free up when application ends?
 
Dynamic memory using new. I know they need to be deleted while program runs, but if the program exits or main returns, do they get deleted?
[5 replies] Last: Obviously if you're running a memory-hungry program, you want to use ... (by Athar)
Using Extremely Large Numbers
 
I would like to know how to use numbers larger than those offered by the standard data types. Currently I am limited to unsigned long which maxes out at 2^32-...
[1 reply] : You can use int64_t and uint64_t. If that's not sufficient, you'll ne... (by Athar)
Need tip on editing a text file in C++
 
This program is supposed to read from an input file and write to an out put file exept the characters #N# should be replaced by the name that the user types in....
[no replies]
Solution Problems code error
 
Thank you for looking. So this program is supposed to take the users input which is vehicle type and minutes parked and display hours parked vehicle type ...
[4 replies] Last: Well thank you for helping. The first problem is fixed. the second... (by GhostServer)
confused with the declaration
 
Hello everyone,i have a simple problem which i canot understant.Here is a simple code which has a simple class ,i create an object of this class and then i ca...
[3 replies] Last: ok ,thanks (by kikirikou)
Differences in Tutorials?
 
I have seen three different tutorials. one was from the 80's, the other was unknown, and the third was the one from this site. I tried to use the one from the 8...
[2 replies] Last: Here is an article that explains some differences between ISO C++ and ... (by Null)
by ARWA
constructor??!!?
 
hi, i have a class that have two objects as a private members so, now i want to initailize the 2 objects through the constructor should i but the parameter c...
[4 replies] Last: xoax video: http://xoax.net/comp/cpp/console/Lesson32.php (by Blessman11)
by jleach
characters after console entry
 
Hi, I'm trying to find some footing with incput from the console, and have a question about the "remaining characters" from an input string. Say I buffer an...
[2 replies] Last: Ahh, that's it. Thank you Sir (by jleach)
Confuse about passing value back to class
 
/* * book.cpp * *Simple program for storing array of book titles and published dates * * Created on: Oct 9, 2010 * Author: Alpha */ #inclu...
[6 replies] Last: Hi Disch, Sorry for the late reply. This is the changes I had made.... (by jellyfish)
C4716 Error: Must return a value
 
I am an absolute noob to programming and i'm having some serious problems. This is a problem i have for my programming class and I'm stumped. It's saying a have...
[3 replies] Last: Well, the functions called on main is getWidth() and getLength() ... (by wasabi)
Real time calculations
 
Hello , sometime ago I started a small project centred around some crazy mutating breeding rabbits( sounds silly but I have learned an awful lot ,especially abo...
[1 reply] : I'm not sure, but you may want to use the ctime header file. Take a lo... (by Darokthar)
Menu solution
 
Hi im reletivly new to programming in C++ and this is my first attempt at trying to make a half decent project for myself. I have tried to incorperate the calli...
[3 replies] Last: Thanks guys, i got up first thing this morning and had a go at your so... (by luckielordie)
by Nohbdy
Does it exist/What is it? Macro-ish thing maybe?
 
// I'm going to explain something, and I just want to know if that something exists. This is just to increase my understanding of C++ capabilities. // As a s...
[12 replies] Last: // Ah yesh, that is indeed what I thought. That helps a lot lol. (by Nohbdy)
Code Clipping Wont Convert Correctly.
 
Alright I know Im new here, so ill try to make this look as professional and good as possible. Im writing a program to do different tasks, all i need help with ...
[1 reply] : please state ur problem rather than ask ppl to find ur problem (by carlsum1986)
by ARWA
No appropriate default constructor!!
 
hi ^___^ i have an error in my prog that says that no appropriate default constructor is avaliable and the thing that there is i dont know why this is happi...
[3 replies] Last: thanks alot ,i want to corrcet smth in my understanding .. now what i... (by ARWA)
Instance variables seem to be inaccessible.
 
This is my first post here and I believe it to be posted in the right forum however I apologize if it is not. I have function in a header file that creates n...
[9 replies] Last: Use extern in any file that needs access to Plyr. It's basically like ... (by Zhuge)
function problem
 
hi i am new in functions and i need to do that a circle can be moving on the screen at a speed that a person will choose and make it disappear in the edges of t...
[2 replies] Last: ok my problem is that i do not know how to make like the statement, i ... (by elvis0288)
Arrays as parameters
 
I'm having trouble passing arrays as function parameters and I'm pretty sure I'm doing everything correct. // Always returns a value of 1 int array_size...
[12 replies] Last: It's not part of the standard because it ends with ".h" That is the ol... (by Zhuge)
Reference Operator
 
I just finished the articles hosted on this site regarding pointers and I have to say that I'm a bit confused after reading it. It did clarify some parts for me...
[3 replies] Last: That's because arrays are just pointers to their first element when pa... (by Zhuge)
October 2010 Pages: 1... 1415161718... 42
  Archived months: [sep2010] [nov2010]

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