Beginners - September 2010

Flexible array members and Zero extent arrays.
 
As these are dynamically created at runtime, Do you need to delete these constructs to stop memory l...
[2 replies] Last: [quote=Bazzy]There's no problem of memory leaks since it shouldn't com... (by gcampton)
ebooks..
 
hello, in our school we studying c++ using turbo c++, i'm looking over the net but i can't seek for...
[1 reply] : Is there a reason you are using Turbo C++? It is very old. It was pr... (by PanGalactic)
by a2d2
#include<string>
 
When is #include<string> required in order to use strings? Even when I don't use it, I can still inc...
[2 replies] Last: Athar, thanks for the explanation. --a2d2 (by a2d2)
HEllo :D
 
Code: #include<iostream> using namespace std; int main(void) { double dnumber1 = 0.0; ...
[10 replies] Last: @above: I wasn't trying to be arrogant.I was just a little frustrated... (by sailornaruto39)
stuck with the cin object please
 
hi, below is my code: #include <iostream> using std::cout; using std::endl; using std::cin; ...
[2 replies] Last: hmm, it works when i run from the batch file, but not when clickin on ... (by TpOreilly)
by whb191
Calculate array using for loop.
 
What ever numbers i type the sum of 5 number be allways -1, why its keep coming up like that. { ...
[4 replies] Last: haha yeah.. @whb191: you can have more than 1 operation in a loop ;... (by kaduuk)
by Klinik
Monitoring txt file and reading new(last)entry(word) from that txt file
 
Hello!Another beginner over here. I need to track changes in my .txt file,and every time new word i...
[4 replies] Last: Yes you can replace usleep function with the Sleep API in windows. How... (by naivnomore)
converting binary string to array
 
Hi All, i am trying to convert binary string like "10101101" to int a . like int a ={1,0,1,0,1,1,...
[3 replies] Last: #include <iostream> using namespace std; int main() { size_t M... (by naivnomore)
csv files
 
i have a problem with exporting data from my program to csv file to be opened by excel spreadsheet a...
[8 replies] Last: finally i did it thank you for your attention and for your appreciabl... (by over the top)
by Bri426
User inputs incorrect number-error message
 
I'm almost finished with a program that asks the user to input a number from 0 to 100, then asks if ...
[11 replies] Last: Take a look at this. I think that both input statements (cin >> x) sh... (by kempofighter)
Crash in AI program
 
Hi! I am currently programming a program which simulates a AI by the means of 4 "chars" in a char ...
[2 replies] Last: Thanks for the reply ;) That the array is larger then it should be, s... (by tHaH4x0r)
const keyword
 
I have been using the const keyword liberally in my code to make sure that variables are not unknowi...
[6 replies] Last: Here's a pretty good explanation (note const foo** is the same as ... (by Disch)
temp
 
Can someone help me start this code. I need to write the following function using templates and put ...
[3 replies] Last: malgron: That doesn't help because it won't work. a and b have to be... (by jsmith)
assignment. Write a program that asks the user for a first
 
Write a program that asks the user for a first and last initial (1 character for each) that are sepa...
[4 replies] Last: /* This program will ask for a first and last name initial, a 3 digit ... (by jraccoon)
missing dll file ... =~(
 
Hiii... I compile a program, it works.. I send the file to another computer, it shows me "the prog...
[6 replies] Last: Thanks a lot for sharing these information =) (by teapotz)
File I/O and Command Line Parameters
 
I need to write a program that will take a command line parameter of a filename followed by an int. ...
[1 reply] : Line 7 is declaring an array of zero ifstreams called argv, you want t... (by Bazzy)
by tonnot
Please, How to write well the cpp for my h file ?
 
I have many compiler problems with this file : Note I have a Wwin namespace. I have tried to wr...
[6 replies] Last: If you don't tell us what the errors are, then it's unlikely we'll be ... (by Pax)
Having trouble with a program
 
Hello there again, I'm having a slight problem I'm trying to create a program that calculates Moped ...
[2 replies] Last: Ahh okay that makes sense thank you very much I appreciated. (by enigmaterror)
Simple Implementation Comparison
 
Hi folks! I just did an assignment for my INTRO to programming course, and I got hammered on my...
[10 replies] Last: I got hammered on my first assignment for 'poor programming style'. ... (by firedraco)
by pooshi
Another Map Question
 
Hello. I am working on a Blackjack game and I have a question about maps. If I deal player1 a 10 of ...
[5 replies] Last: Well that is what I did in my Android BigTwo game. //Java syntax... (by sohguanh)
September 2010 Pages: 123... 32
  Archived months: [aug2010] [oct2010]

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