
please wait
by gcampton
Flexible array members and Zero extent arrays.
|
As these are dynamically created at runtime, Do you need to delete these constructs to stop memory leaks? and if so, do you just delete the declared struct? Or ... |
Sep 30, 2010 at 11:57pm
[2 replies] Last: [quote=Bazzy]There's no problem of memory leaks since it shouldn't com... (by gcampton)
|
by fistsers
ebooks..
|
hello, in our school we studying c++ using turbo c++, i'm looking over the net but i can't seek for turbo c++ ebooks for tutorial.. anyone know where to find ... |
Sep 30, 2010 at 10:36pm
[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 incorporate type string names in my code. |
Sep 30, 2010 at 10:19pm
[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; double dnumber2 = 0.0; double dnumber3 = 0.0; ... |
Sep 30, 2010 at 9:46pm
[10 replies] Last: @above: I wasn't trying to be arrogant.I was just a little frustrated... (by sailornaruto39)
|
by TpOreilly
stuck with the cin object please
|
hi, below is my code: #include <iostream> using std::cout; using std::endl; using std::cin; main() { int score = 0; double distance = 1200.76... |
Sep 30, 2010 at 8:03pm
[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. { int iArray ; int iCounter; cout << "Type five n... |
Sep 30, 2010 at 8:02pm
[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 is added to .txt,my program should put it on screen.By now I ... |
Sep 30, 2010 at 6:45pm
[4 replies] Last: Yes you can replace usleep function with the Sleep API in windows. How... (by naivnomore)
|
by aliaj00
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,0,1}; for data proccessing. please help. BR, Aliaj00... |
Sep 30, 2010 at 6:32pm
[3 replies] Last: #include <iostream> using namespace std; int main() { size_t M... (by naivnomore)
|
by over the top
csv files
|
i have a problem with exporting data from my program to csv file to be opened by excel spreadsheet as following:i wantto writh a number in a cell then another v... |
Sep 30, 2010 at 6:15pm
[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 they'd like to enter another umber (y/n), and the loop conti... |
Sep 30, 2010 at 6:13pm
[11 replies] Last: Take a look at this. I think that both input statements (cin >> x) sh... (by kempofighter)
|
by tHaH4x0r
Crash in AI program
|
Hi! I am currently programming a program which simulates a AI by the means of 4 "chars" in a char array. They all want to get the reward dots which are spawne... |
Sep 30, 2010 at 2:34pm
[2 replies] Last: Thanks for the reply ;) That the array is larger then it should be, s... (by tHaH4x0r)
|
by cpluplusrat
const keyword
|
I have been using the const keyword liberally in my code to make sure that variables are not unknowingly modified. However, i have recently ran into a problem w... |
Sep 30, 2010 at 2:31pm
[6 replies] Last: Here's a pretty good explanation (note const foo** is the same as ... (by Disch)
|
by swalton
temp
|
Can someone help me start this code. I need to write the following function using templates and put it in functions.h which i havent created it :( i just need s... |
Sep 30, 2010 at 1:49pm
[3 replies] Last: malgron: That doesn't help because it won't work. a and b have to be... (by jsmith)
|
by jraccoon
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 separated by comma. Then the program asks the user for a 3 digit... |
Sep 30, 2010 at 12:09pm
[4 replies] Last: /* This program will ask for a first and last name initial, a 3 digit ... (by jraccoon)
|
by teapotz
missing dll file ... =~(
|
Hiii... I compile a program, it works.. I send the file to another computer, it shows me "the program cannot start because MSVCP100D.dll is missing." Why can... |
Sep 30, 2010 at 11:06am
[6 replies] Last: Thanks a lot for sharing these information =) (by teapotz)
|
by monomoco
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. The file will be a list of shorts that I need to push onto t... |
Sep 30, 2010 at 9:42am
[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 write the h file by combining namespace, ::Myswin (the name of... |
Sep 30, 2010 at 9:07am
[6 replies] Last: If you don't tell us what the errors are, then it's unlikely we'll be ... (by Pax)
|
by enigmaterror
Having trouble with a program
|
Hello there again, I'm having a slight problem I'm trying to create a program that calculates Moped rentals by hours and what type of day.For example a moped re... |
Sep 30, 2010 at 5:42am
[2 replies] Last: Ahh okay that makes sense thank you very much I appreciated. (by enigmaterror)
|
by Ritter688
Simple Implementation Comparison
|
Hi folks! I just did an assignment for my INTRO to programming course, and I got hammered on my first assignment for 'poor programming style'. I'm going t... |
Sep 30, 2010 at 5:28am
[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 diamonds and a 5 of clubs my total needs to be 15 and that v... |
Sep 30, 2010 at 5:21am
[5 replies] Last: Well that is what I did in my Android BigTwo game. //Java syntax... (by sohguanh)
|