49,761 Topics

Member Avatar for
Member Avatar for beezybeem

1st time trying to do C++. I need direction of how to write this program. Thank you. Specification: Follow the coding style guide lines of codingStyle.doc A small postal system ships packages within your state. Acceptance of parcels is subject to the following constraints: 1. Parcels weight <= 50 pounds …

Member Avatar for Stack Overflow
1
143
Member Avatar for vudatalark
Member Avatar for Chainsaw
1
292
Member Avatar for scott_6169

I am a student in a first time c programming class. I amhaving problems getting my initials to print in between Hello and World in my program I am writing. I am not sure if I am declaring the variable the right way. Could you please help??

Member Avatar for Dave Sinkula
0
91
Member Avatar for Darakuli

Hello everyone who reads this is Darakuli here. Me and my team have been creating a MMORPG and we are looking for some people who have experience with C++ And MMORPG's our team mostly do graphics and other stuff. We are stuck on the C++ And MMORPG's as we can …

Member Avatar for kc0arf
0
187
Member Avatar for littletimmy

Hi all, If I want to check if memory has already been alocated to a pointer, and if it has I wnat ot delete it, is this how it would work? theGraph = new MyObject[size()]; if (theGraph != 0){ // or even NULL delete[] theGraph; } This seems intuitive to …

Member Avatar for Dave Sinkula
1
195
Member Avatar for danielrc15

Hi, I am not a C programmer, but have been given some code to get compiled and use. We host our server with 1&1 and I can access the machine via SSH/Telnet, but when I come to run the make file, I get the following error: > make g++ -DGNU_CONSTRUCTOR_BUG …

Member Avatar for kc0arf
0
124
Member Avatar for GeethaAdhi

[COLOR=Plum] [SIZE=4]:?: I want C and C++ technical Model Question and Answers for my campus interview . :sad: IT is very important to me so please if u had means send it to me.[/SIZE][/COLOR] MY E-MAIL Addrs,

Member Avatar for Stack Overflow
0
213
Member Avatar for JustinsCJ5

It has been a while since i have taken C++ and I am tryig to write a program. The program is supposed to let the user input how many vertices the polygon will have, then let them put in the vertices, calculate the length of the sides, then use Heron's …

Member Avatar for Dave Sinkula
0
130
Member Avatar for db0

Hi all. Somthing strange is going on... I want to use "-debug" command line parameter to make my app show some debug info. Here is my code (not entire but needed part)... [code] #include <iostream.h> bool debug_mode=0; int main(int argc, char **argv) { if(argv>1) cout << argv[0] << endl << …

Member Avatar for db0
0
89
Member Avatar for FireNet

[code] Graphics In Pixel Part II A 'Now we are going to get it' By Aaron (a.k.a FireNet) [url]http://xlock.hostcubix.com[/url] [/code] Introduction ------------- The long awaited part 2 is finally almost here.This is mini section elaborates on what Part I said.I broke up up Part II because it was getting too …

0
86
Member Avatar for ohnbabygal

my input file looks like this: 112;12 130;30 156;56 the first colum refers to keys, and the other one refers to quantity. im writin a program to search for the key and print out the quantity using hash algorithm. i used structure. so it looks like, lets say, input.getline(structure.key, sizeof(structure.key),';'); …

Member Avatar for FireNet
0
144
Member Avatar for liwel

i need an example of a simple interfacing program with schematic diagram including circuits!!!! pls help me!! i need it today!!!

Member Avatar for alc6379
0
130
Member Avatar for cwobie

Good day. I am busy writing a small console program and need help with the following: - I need to be able to allow the user to enter a start date and end date and display data with dates which falls wihin this range. - Once I have this data, …

Member Avatar for Dave Sinkula
1
91
Member Avatar for kohkohkoh

this program should output the names in ascending order which entered by the user. i know there is wrong under if(strcmp...) part..because i do not how to order it... can someone show me how to continue.. thank you.. #include <iostream> #include <cstring> using namespace std; int main() { char name[4][50]; …

Member Avatar for Dave Sinkula
1
111
Member Avatar for big buc's fan

First i wanted to say thanks to the ones who help me with my first thread :-) i was able to get that program running with some more coding. now w.the problem i have. Iam trying to write a multiplication program that will help my kids memorize his time table. …

Member Avatar for big buc's fan
1
173
Member Avatar for shortd81

Need some help. Don't know anything about programming except HTML, would like to know where I should start to learn the language. :?:

Member Avatar for shortd81
1
175
Member Avatar for sonu_saini_76

Please give me any idea about crawling............................. especially from https sites :-|

Member Avatar for kc0arf
0
59
Member Avatar for littletimmy

If a 2d array is allocated memory in this fashion, how should it be deleted? MyObject **lastJobs, **lastMachines ; lastJobs = new MyObject*[getNbJobs()] ; lastMachines = new MyObject*[getGreatestMachineNb()] ; does this suffice: delete[] lastJobs; delete[] lastMachines;

Member Avatar for littletimmy
0
145
Member Avatar for lara_

why i have to press "enter" twice before getline can read the string... can anybody help me to solve this problem... [code] #include <iostream> #include <string> #include <new> using namespace std; int main() { string *name, hold; int num, i, j; cout << "----------------------------------------------------\n" << "This program creates a dynamic …

Member Avatar for Dave Sinkula
0
319
Member Avatar for iamhe

This is giving me a headache...can someone please tell me why these statements ARE NOT equivalent? Statement 1.) if(running_result && shell[8 * (x - 1) + (y - 1)].input_val) running_result = true; else running_result = false; Statement 2.) running_result &= shell[8 * (x - 1) + (y - 1)].input_val; ------------------------- …

Member Avatar for iamhe
2
163
Member Avatar for majuti

Need an up to date tutorial for using C++. It has been a few years since I've had my last C++ class and since I don't use it on a daily basis, I forgot a lot that I had learned before. Need basic information and some beyond for programming. I …

Member Avatar for vijay choudhari
1
121
Member Avatar for beezybeem

1st time trying to do C++. I need direction of how to write this program. Thank you. Specification: Follow the coding style guide lines of codingStyle.doc A small postal system ships packages within your state. Acceptance of parcels is subject to the following constraints: 1. Parcels weight <= 50 pounds …

0
77
Member Avatar for talk_positive

Hi, I'm Anoop. I am doing my masters in computer application degree. In our course we learn computer science subjects and C, C++ & Java prog languages. I am also keenly interested in music and am playing keyboard for the past 4 years. I still have 1 and a half …

0
78
Member Avatar for damionspencer

Dear God, I've been trying to write this program that is suppose to read in a text file manipulate in and give the following out put infact here is the question Implement a program that uses a form-letter template to generate form letters. Your program should read in a form-letter …

Member Avatar for soniprafull
0
164
Member Avatar for Transworld

Would I have to go about doing the math manually and make my own function? Is there some built in function I can use to be lazy? Is there some totally easier way that I am oblivious to?

Member Avatar for Transworld
0
662
Member Avatar for sonu_saini_76

Please give me any idea about how to download a web page from https sites using VC++. ie how it generates url and open that page.Its very urgent for me...... Regards SAINI ;)

0
47
Member Avatar for mister-fett

(I have already posted this in code snippets, but I am posting it here to because some people may not read the post in code snippets because they are not interested in code snippets. Main point: I posted it here so more people would see it. ;) ) I would …

0
58
Member Avatar for mister-fett

I would like to get into two dimensional game programming, and have even taken the time to outline the game: I AM NOT ASKING FOR THE WHOLE CODE. I simply want to know :?: The commands that allow this kind of object based manipulation of graphics and text, as well …

0
93
Member Avatar for Mahen

hi everyone, am sorry but i have to bother you again. Here is my question. Firstly I want to know how to include asm programming in C. Secondly, is there a way to convert hex into asm in C. Thanks for all your responses. :)

Member Avatar for Chainsaw
0
96
Member Avatar for paul niten

I WANT OT KNOW HOW TO WRITE APROGRAM WHICH IS GIVEN ONE OR MORE STRING AS COMMAND LINE PARAMETER AND WHICH BUILDS A LINKED LIST HOLDING COPIES OF THOSE STRING (I.E EACH NODE IN THE LIST SHOULD CONTAIN A STRING AND A POINTER TO THE NEXT NODE). tHE ORDER IN …

Member Avatar for FireNet
0
159

The End.