Beginners - December 2008 (Page 15)

by iron
My program doesn't work .
 
This program is design to compute the number of occurrences for each number in the list . This is the code . #include <iostream> #include <cstdlib> usin...
[4 replies] Last: http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
by iron
some suggestions for my code.
 
I want your help to fix this code to make it work as in the picture bellow . The third arry s is the multipication of p * q http://www.2shared.com/fadm...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
Segmentation Fault with pointers
 
Hello again everyone :), this is a program for my class that is just a simple card game. I am experiencing a crash or "Segmentation fault" and I have narrowed ...
[8 replies] Last: Line 192: You have an opening brace for no reason. Line 193: You have... (by Zaita)
Assistance with program that uses structures and reads a data file
 
I know you guys don't like it when users post questions like this, but I don't know any easier way. I don't want the answer I just need help getting started. ...
[3 replies] Last: @anders: girls don't get special treatment. @jcoral: http://www.cpl... (by Zaita)
by iron
who can fix this code ?
 
How can fix this code and make it run correctly. Just I want it work as in this image. http://www.2shared.com/fadmin/4394306/2837e29/ppP-008.jpg #include ...
[6 replies] Last: Your code seems to fill the array properly, i think the error is on di... (by Bazzy)
.chm tutorial
 
i was wondering if there was a compiled htm verson of the c++.com tutorial??? I nned it because i dont always have a constant internet conection so it would be ...
[2 replies] Last: Look into HTTrack (by Poke386)
class type undeclared identifier
 
I'm working on a small program. I made header file and the .cpp file seem to recognize the header file. //Header File (class.h) class Lunar { . . ...
[6 replies] Last: Not easy to spot but this is the problem line (the first line in the ... (by guestgulkan)
problem understanding a program
 
i just begun i C++ and i can not understand what is this program for : #include <iostream> #include <cstdlib> #include <ctime> using namespace std; ...
[2 replies] Last: the (x1,y1), (x2,y2) outline a rectangle area, the (rx,ry) is a coordi... (by anders43)
Executing c++ directly from a web url
 
I'm working on a dedicated godaddy centOS system. The problem is that I cannot figure out how to make c++ executables run from a web url call directly. They wi...
[15 replies] Last: normally the above requirement can be accomplished - at least in my da... (by anders43)
by ruby09
an array question
 
>hi i am a begginer in c++ programming; >i know that arrays cannot return values from a function, but structures can. >if i wanted to return an array, how c...
[2 replies] Last: In order to return arrays you should use vector<> and return that from... (by anders43)
Floating Exception
 
I'm new to this forum and how to use the "insert code" tool, so I'd appreciate help on that as well. In the following code, I get the error "Floating exception ...
[4 replies] Last: No, the test was run ran using the original minus the (int)"/". (by helios)
by Sathed
Bubble Sort
 
I'm trying to do a bubble sort on an array containing 4 indexes of integers. However, it is working, but after the first run through, I want it to stop checkin...
[6 replies] Last: Nevermind, I got it... I did it differently though. for (int j... (by Sathed)
Struct problem??
 
Ok guys, this is the last time you'll see me around here. Final assignment to be turned in. I have all my program written out and I expect it to work, excep...
[10 replies] Last: Wait... That's C#! (by helios)
by jf1253
using friends
 
I have no Idea how to fix these errors. It would be cool if someone could assist me. Here is the code #include "song.h" ostream& operator << (ostrea...
[4 replies] Last: That worked. Thank you (by jf1253)
AI for my tic-tac-toe game
 
I've got a tic-tac-toe game up and running using SDL, but I'm having a little problem implementing the AI. I looked up on google and learnt of something called ...
[5 replies] Last: That's right, although for performance reasons I'd have the evaluator ... (by jsmith)
Runtime Error
 
Hi i am running Visual c++ 2008 and im writing a program that pretty much just organizes names of people and their numbers. When i run it i get this weird weird...
[7 replies] Last: If your check was < size, then changing it to size - 1 sounds to me li... (by jsmith)
!= doesnt match any operators
 
If anyone could help me I am writing this program that takes a users amount of money and tells them one possible amount of coins they have. When I try to compi...
[4 replies] Last: OK, cool thanks Return 0; GM (by giantMidget)
by Kirk81
timestamp
 
Hello, i'm implementing an application that sends packet on a network. Now I'd like to discard the packet that are older than 2 minutes at the receiver. I add...
[2 replies] Last: the solution is really easy: pseudo code: diffTime = currentMinu... (by Kirk81)
setting up a 2d array - returning error
 
I am trying to setup a 2D array, but i keep getting this as a result (13)error C2087: 'abstract declarator' : missing subscript (19)error C2660: 'setUpS...
[2 replies] Last: And remove the comma at line 23 (by Bazzy)
hi i am new to c++
 
how to learn c++ program ? is it so hard
[1 reply] : Try starting from here: http://www.cplusplus.com/doc/tutorial/ (by Bazzy)
December 2008 Pages: 1... 1314151617
  Archived months: [nov2008] [jan2009]

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