General C++ Programming - December 2011 (Page 26)

C++ Novice. Could someone please tell me how I would go about using an array in this program. Thanks!
 
[int main() { int choice, compchoice; //The do-while loop repeats the program until there is a winner do { // Assigning variables and introduction to the ...
[4 replies] Last: however unless you are using pointers use #include <string> which give... (by Aramil of Elixia)
by nazoof
Need your Help .. C++
 
Hi .. good day every one ..!! Could you please discuss this example with me ?? A 4-by-4 array of integers. Write a C++ program to accomplish each of the fo...
[9 replies] Last: Need your help ... plz (by nazoof)
by Oneday
Compiler wrong settings?
 
Hi all, I'm experiencing with C++ but I've the next problem: When I send my .exe file to people who has not installed Visual Studio, the program does not ...
[6 replies] Last: You can statically link to the runtime by passing the /MT switch to th... (by closed account 1yR4jE8b)
by dancks
help with linkage problem
 
My compiler is g++ and my OS is mac 10.5.8 I don't see an attachment option. I'll just post a summary of my code: the program is the (beginning of) a game wit...
[4 replies] Last: Thanks hanst99. I used that, then ld -r to link the object files from ... (by dancks)
by AlexFG
Sub Hunter game assignment, need help guys!!!
 
Hi everyone, Thanks for taking the time to read my thread; I'm taking a C++ class in college and the last assignment for the semester is to write a sub hunt...
[7 replies] Last: Lol, good luck. (by Code Assassin)
by trill
can someone help with this please!!!
 
//Note: This program should include three functions, which // you must write the declarations and definitions of. // You must decide which functions...
[6 replies] Last: //Note: This program should include three functions, which // you mu... (by Vins3Xtreme)
by trill
function
 
int menu() { char letter; // Place to store input letter int tempIn; // Temperature to be converted cout << "Input Menu" <...
[1 reply] : Um, that's pretty simple if I understand you correctly... Take a look... (by Code Assassin)
by bbh84
Help with array
 
I need help adding a value returning function that uses a do loop so it can determine the number of elements in the array that are between 110 and 155. how can ...
[2 replies] Last: sorry just trying to get some help as fast as I can (by bbh84)
friendship between classes
 
hello what is the relationship between those two classes; do i have access in both's private data from both classes or not; i saw that i cant access cs2 priv...
[1 reply] : Do you define an object of class cs2 into cs1 ? I don't see any. As... (by eypros)
by Scotch
Files
 
I have a transaction file with several records. The records the 2 different number of fields. One type has 6 fields and the other type has 2 fields. I have to s...
[1 reply] : The question? (by hanst99)
Computer security
 
Hey so I've been really curious about this subject. Computer and network security. Like security on a single computer, over a LAN, over the internet. Through ro...
[no replies]
Needs graphics formula
 
I'm using OpenGL to procedurely map a 2D texture onto a 3D object. Using the vertices and normal vectors for each point, what's the formula for calculating the ...
[5 replies] Last: ya I support the answer of @hamsterman Iam also ready to help. (by Dinesh subedi)
How do I create a menu in Dev C++
 
I am using Dev C++ and I would like to make a menu using the Windows Form template. What is the best way to add a menu? this is the template: #include <windo...
[1 reply] : I found a simple and useful .rc file editor that helps a lot if you ar... (by Texan40)
Help with my Craps game
 
I am having problems with my code that I am programming for craps game. For some reason the person always wins so I think that there is a problem with my loops....
[1 reply] : Here is my second part... if (dice1 == 1) ... (by vdubswag)
by tfityo
Problem with accumulate
 
You can calculate sum of elements in vector by vector<double> wx; //... some code of generating data double x = 0; for (int i = 0; i < wx.si...
[3 replies] Last: Thanks, it solved the whole problem. (by tfityo)
ADDING BORDER
 
Hi anybody help me here how can i put border on my console app.. when my program run the window automatically fullscreen.. if possible transparent border.....
[16 replies] Last: @whitenite1 yes i receive it thanks a lot for helping me :) many many... (by nielcleo)
Simple Address Book...
 
My professor keeps telling us its all about listing things and telling the computer how to do tasks one at a time in the order we want them done, (but he doesn'...
[1 reply] : This is the address book.... Sean Collins 5556497239 Robert Howell 55... (by scollins90)
file does not open .
 
Hi , I am not able to open the file ..the file is located in the folder where the output.exe is located . #include <iostream> #include <fstream> #incl...
[9 replies] Last: Thanks a lot L B ... :) it worked like a magic .. (by bluecoder)
by Balrog
OpenAL including errors
 
I've been having trouble including and installing the necessary components for the OpenAL library. I'm running VSE2010, and have placed alut.dll in WINDOWS\Syst...
[11 replies] Last: Why is it trying to open a .dll? Shouldn't that be done at runtime? (by bbgst)
how can I disable the enter keypress in a textbox?
 
I am trying to write a chat room in Dev C++ using the windows forms template. I have it basically working, but I would like to allow the user to press the "ente...
[2 replies] Last: Unfortunately I don't think Dev c++ has a properties box. If it does I... (by DeadEli)
December 2011 Pages: 1... 2425262728... 39
  Archived months: [nov2011] [jan2012]

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