Beginners - November 2011 (Page 23)

how to write the coding for this question? URGENT!!!
 
Insert a few integer numbers between -100 and 100. Determine and print how many negative numbers and how many positive numbers have been inserted. Insert the va...
[4 replies] Last: thx..alot. i solve the problem already. (by B031110034)
by jansen
Having trouble in inserting linux header type to windows
 
Hii, I'm a beginner and I want to ask something i have header file but it was created in linux platform by someone I try it and it works in linux... The prob...
[no replies]
breaking out of a do while loop with a switch nested inside.
 
This is a small portion of the code i am working on. I am try to figure how i can exit this loop when asked to do so. But i have to allow the user to make multi...
[2 replies] Last: that is not quite it unless i am miss understanding the use of the exa... (by MasterHex)
Reading a data file into a 2 dimensional array?
 
Part of my assignment is to read from a data file using a 2 dimensional array (essentially we have to make a factory production type program that we can read/wr...
[2 replies] Last: Thank you for your help it works now and I have a better understanding... (by RoboScorpion)
Recalling values from an array of structures
 
Hi, I'm trying to save the values I read from a file to an array of structures of type user_login. Although the print statements in the for loop work, the last ...
[no replies]
structure////very important
 
#include<iostream> #include<ctime> #include <cstdlib> #include<fstream> using namespace std; struct mc2 { public: int *seq,go; double fitnes; };...
[2 replies] Last: actually I want to get the similar output of the following program(as ... (by humyunfuad)
by gh24
Running Program Through Command Prompt
 
Hi guys, I did a bit of a google search but I am still having issues with this. How do I run a program from the command prompt? It is a requirement for my ...
[15 replies] Last: Well good luck. I really wish I could help more, I remember when I wa... (by TheMeerkat)
A problem (help need asap)
 
hey got a another problem i need to ask about. so heres the code of the program. the problem is that at line 98 i said percet = (incChange / 1000) * 100; a...
[1 reply] : found out the problem myself sorry for the post. (by Pip3mAn)
by Brac24
Histogram Help
 
We're using Dark GDK but i think the syntax is similar for what i want to do. I'm reading from a file of 1000 doubles. I am looping thorough a data array to...
[no replies]
by moot1
books
 
do you know any good books that teach you c++ so i can stop making a fool off my self on this forum
[5 replies] Last: Check out Bjarne Stroustrup's "Programming: Principles and Practices u... (by Cuddlebuddie928)
by seriec
Function will not run
 
i was using the Dark GDK to create a program to draw a Octagon, but after debugging the first line I ran into a problem. When I step into the program the functi...
[no replies]
by oyoung
I need a help
 
#include "stdafx.h" #include <iostream> #include <cstring> using namespace std; int main() { char str ; char name ; char addr ; char work ;...
[1 reply] : 1. Use code tags to show code. Like this: [co de] //See? Nice-loo... (by webJose)
I need help with that program please
 
#include <iostream> #include <iomanip> #include <string> using namespace std; void Receive(int *Car, int Num); void Remove(); void Display(); void C...
[5 replies] Last: The instructions mention a class, and I don't see a class anywhere. (by Zhuge)
dynamic memory allocation with structure
 
I need help to solve the following program. :( #include<iostream> using namespace std; struct mc2 { public: int seq; double fitnes; }; int m...
[1 reply] : Please post using code tags - it's very difficult to read unformatted ... (by jim80y)
Extracting infomation from line
 
I need to identify what type of ship is the "row". For example, I have this data in the file: A1;A2;A3=Y B1;C1;D1=Z C5;C6=X Assuming: Y symbolize "Battl...
[4 replies] Last: #include <iostream> #include <fstream> #include <string> using names... (by Tampopo)
Overloading template functions
 
I need a little bit of help with overloading template functions. I have the following program: #include <iostream> using namespace std; template <type...
[2 replies] Last: Helios, thanks for the advice. I added the following line template... (by rinnamorato)
Help with Circular lists
 
Im trying to implement a circular list.Can anybody please point out the errors.The code is compiling but the list is not getting initialized. #include<i...
[1 reply] : You are passing a NULL pointer (declared on line 36) to the clist_init... (by closed account D80DSL3A)
by moot1
$$ programs
 
have any of you guys made programs that you sell for money. if so tell me the link so i can check it out and maybe buy it if its useful to me. preferably the pr...
[3 replies] Last: It's usually the businesses and companies that advertise and sell thei... (by closed account zb0S216C)
How to program a game?
 
I'm trying to program a computer game. For example, the game gives a robot a random amount of health and you get a weapon which deals 100 damage. You can choos...
[3 replies] Last: To program a game you need skill. And skill is gained from experience.... (by happykiller)
Take a look at the code for me?
 
I have this gradebook program that can do these things: 1) show all grades for a student 2) calculate the average for a student 3) list all students below th...
[no replies]
November 2011 Pages: 1... 2122232425... 65
  Archived months: [oct2011] [dec2011]

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