49,766 Topics

Member Avatar for
Member Avatar for lordofthisworld

i have a whole 2 days programming experience under my belt and i wanna do something with lots of pretty colours...... i understand i probably don't know enough yet to get into graphics - but not only do i not know how to do graphics, i'm not entirely sure what …

Member Avatar for servant7
0
157
Member Avatar for Killer_Typo

A newbie to C++ here. I need help with counting array length's, I have an array that i only want the user to be able to enter up to ten characters, but lets say if i enter eleven, the array is expanded out to eleven charactes, and i dont want …

Member Avatar for Stack Overflow
0
350
Member Avatar for Sukhbir

char *ptr="abc"; char *ptr1; while(*ptr1++=*ptr++); //IT IS WORKING while((*ptr1)++=(*ptr)++); //ERROR PLS EXPLAIN ME.

Member Avatar for Chainsaw
0
140
Member Avatar for srividyad

Can anybody please help me find code for 128bit arithmetic(division,mul,sub,add) in C. I am using ANSI C compiler.

Member Avatar for Stack Overflow
0
167
Member Avatar for scott_6169

I have to alter my hello world program so that it prints my initials to the middle of the screen. It says i can use any of the escape sequences that help me it says. Can anyone help

Member Avatar for XianBin
0
167
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
147
Member Avatar for vudatalark
Member Avatar for Chainsaw
1
295
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
93
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
191
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
198
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
125
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
218
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
90
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
147
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
131
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
112
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
177
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
176
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
146
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
322
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
165
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
124
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
166
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
670

The End.