General C++ Programming - February 2012 (Page 30)

Help me with my project please!
 
#include <iostream> #include <fstream> #include <vector> #include <ctime> #include"dos.h" #include <stdio.h> #include <stdlib.h> #include <time.h> #i...
[4 replies] Last: As far as i ses this condition will always be true .. if(rand_co... (by sandeepdas)
logistics of text twist game?
 
I am making a text twist game for my c++ class, and i had a couple fo quesion as to how it worked. Are the points caluclated by the letters used? or how many le...
[1 reply] : the classic game has all the letters be the same value, though there a... (by randolph)
WINSOCK FUNCTIONS
 
"How to send hex-decimal packets" ? So pay somebody to do it for you in that case
[1 reply] : modoran if u don't want to help then don't reply , i know others will. (by mahmoud2z5)
GLUT doesn't exist?
 
Ok, what in the hell. Everytime I try to do anything not involving the console, it's like everything just keeps me from doing it. I'm trying to just make a wind...
[4 replies] Last: Omg, I can't thank you enough! You have no idea how frustrated I was a... (by ResidentBiscuit)
by Tatipu
How do I change the output for a class if I do work in the main function?
 
And this program is about bank accounts with checking account/saving accounts using inheritance and such. This is my main function: Problem is lines 38-whenev...
[13 replies] Last: Thanks so much (: ! Funny thing, I just noticed my prof went over thi... (by Tatipu)
by Lacy
display an array of user input
 
//This program is suppose to take users sale amount for each month of the year //and display the sales and average. //This program is only getting one error wh...
[no replies]
time from input file?
 
I need to read a time from an input file and translate it into manipulate-able integers for a larger program, but for the sake of learning how to work things ou...
[1 reply] : You will need to loop through the file and read until the end. You can... (by clanmjc)
i need help
 
hi i am studying the Addison Wesley 's Accelerated c++ ,however i cant understand the part number 4.1.3 which says: // read homework grades from an input...
[3 replies] Last: @clanmjc Omg. 110 posts already!? O.O Unbelievable(Lol). (by Code Assassin)
function not working
 
hi, i wrote this program, but the function i created is not working, it's showing error everytime i run the program, what do i need to fix here? #include<ios...
[4 replies] Last: thanks for your help (by ding23342)
searching and sorting help!!!
 
any one know what im doing wrong? #include <iostream> #include <string> #include <iomanip> using namespace std; int array ; int count; int number;...
[1 reply] : for (count = 0, count ++, count <20); That's wrong. I'm guessing yo... (by Moschops)
LNK 2019
 
Hello everyone, I'm fairly new to c++ programming and I have a networking project to do. Below is the code of my .cpp file along with .h files. I've been stu...
[1 reply] : We need to see the whole error message to know which library or object... (by Moschops)
Calculation Program
 
Hi, I'm working on my calculator program(the code was originaly writen by our instructor and we suppose to modify so it will work with exponent) that basically ...
[1 reply] : You should split the string by the lowest precedence operator found in... (by LB)
by ajdin1
Unix System Calls
 
Hello I need help on writing a program using system calls that changes the permissions on a file. The program can be written in C or C++. The executable shou...
[17 replies] Last: The command line arguments are available in a standard way to all C/C+... (by kbw)
Preprocessor operator ||
 
I seem to be having some troubles using the || operator with MSVC compiler. #define RELEASE 2000 #if RELEASE < 1000 || RELEASE > 2000 #error "Unsuppor...
[3 replies] Last: Could it be RELEASE is already defined? Try undefining it first. (by helios)
Java programmer doing a c++ program
 
Hi all, new to this forum! I'm about to setup a search function on parallel processors using the openmpi library. Prior to this I've only worked with java bu...
[3 replies] Last: Thanks man! I saw heaps of string functions in the left menu that pop... (by liquidfuzz)
Using Crypography to encrypt/decrypt information
 
Hi guys, I have recently been making a program that stores passwords and secret information, I have been looking at cryptography techniques and APIs that peo...
[7 replies] Last: 'wmain' indicates that you may have a clash with unicode (by coder777)
Help required on redirection problem
 
Lets say i would like to allow the system to read the file that the user wanted by just telling the system the location of my file. May i know how to solve this...
[2 replies] Last: Do you mean Reflection? (by clanmjc)
by vRltwE
Troubles with private member pointer.
 
Considering the class header class DadosBarraRolagem { private: BarraRolagem* barraRolagem; ... and the implmementation DadosBarraRolage...
[8 replies] Last: In addition, I would like to say that there is only one getBarraRolag... (by Athar)
Spechial chars, how to set charset?
 
Hello world! (best way to salute a C++ programmer) I have created some buttons and labels with some text displayed on them. As long as the text is in english a...
[1 reply] : The charset depends on your environment, and I'm not sure if it's usua... (by Peter87)
shuffling a vector (1,2)
 
hey guys, i am at a loss about how to simply swap the contents of a vector to give a 'random shuffle' do you guys have any examples or ideas that may work?
[20 replies] Last: deck1 is not a Deck so that will not work. Whup. Yep, that's me not... (by Moschops)
February 2012 Pages: 1... 2829303132... 43
  Archived months: [jan2012] [mar2012]

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