Beginners - May 2010 (Page 20)

by czarak
#include <new> and the three operator new functions
 
Hi, According to the reference entry for operator new ( http://www.cplusplus.com/reference/std/new/operator%20new/ ) : Global dynamic storage operator...
[2 replies] Last: Thanks. (by czarak)
c++ save me i need assistance
 
im very new to c++ and having a hard time doing this question if anyone could help me with me that be awesome! Write a complete C++ program that prompts the...
[14 replies] Last: ok thanks everyone :) great fed back ya i figured out what where i wen... (by jade777)
Impressive-looking c++ problem anyone?
 
I have been wanting to do some extra credit for my C++ beginners class. We have done basic things with classes, and numerous variations on functions, fstream, ...
[5 replies] Last: An assignment I really enjoyed for an algorithms course went like this... (by Duthomhas)
Writing a string with paragraphs to a file
 
Hello, I'm trying to let the user enter a string that will later be written to a file. The problem is that I don't know how to let the user enter paragraphs. Wh...
[2 replies] Last: Press ENTER twice to finish: http://www.cplusplus.com/forum/beginner/... (by Duthomhas)
How to open a large console window
 
Hi, I'd like to make a console program that runs in full screen mode or at least in a bigger window than the usual console size. How would you guys go about ...
[5 replies] Last: Nothing like instructions, references, and examples to convince people... (by Duthomhas)
by wtf
Sudoku Solver Inference Rules debugging
 
please look at my code and help me to see what is going wrong. gridcomopletion() had seemed to work, but at closer inspection, it is not correctly elimininatin...
[9 replies] Last: Here is an example of what I want it to look like in a 9 by 9 board. ... (by wtf)
trouble with parameters
 
I am writing a program that will take command-line arguments and convert them to morse code. What I want to do is, instead of having each case of the switch st...
[2 replies] Last: Thanks, but I'd prefer getting help with individual questions. This is... (by ZGalhardo)
Exception handling errors
 
Hello all, i'm new to this forum. I need help with this code. Its actually a sample from a large program. Here the computer would ask for an integer input. Whe...
[6 replies] Last: Ok Denis I think isdigit() is a function. Now its working fine. Anothe... (by bishshoycpp)
String output:
 
I've been working on some code that I have been interested in doing for a little while. Essentially, my goal is to take a string, of numbers, say.... 12345 ...
[11 replies] Last: a.at(j) would probably have worked here as well. For npos: http://w... (by closed account Lv0f92yv)
What's the difference?
 
#include "stdafx.h" #include <iostream> using namespace std; int main() { int SecretNumber; cout << "What is your favorite number?" << endl...
[4 replies] Last: system("pause"); is like typing pause in the cmd. Try it.... (by blackcoder41)
Can't find .exe file
 
I use Visual C++ on Windows 7, and I did a thing like Hello World, and when I build solution it succeeds. However, I cannot find the .exe of the project so I ca...
[16 replies] Last: Did that, works fine now. Thanks so much Albatross, archaic and hel... (by Cycloned)
Qestions need solution please
 
Try making these questions as simplified as possible. 1. (30 points) You are given a one-dimensional array of ten ints. Write a program that prints “OUT...
[12 replies] Last: You are right. This is wrong: if(average > (max * 2)) { } ... (by Galik)
small thing to ask
 
latest version of visual sutdio works for only sp3. can one give me a link for free microsoft visual studio which can work in windows xp sp2.
[2 replies] Last: http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-2... (by blackcoder41)
Arrays need assistance
 
hi there, just joined this forum but im very familiar about this site, i have been browsing for some information here for sometime now. i just wanted to ask so...
[5 replies] Last: Nah... Try to explain in a Step-By-Step manner what exactly You wan... (by Incubbus)
by clio78
assignment problem. unsure what title to describe my problem
 
i have a piece of an unfinished program. try to run it... if you go straight to option 3 and input values, how do i output these values in option 4 ? i tried...
[4 replies] Last: thank you Galik. (by clio78)
by clio78
can someone hlep me with my problem ?
 
i was hoping you could first run my program and have a look. It is extremely basic. i didnt know how to output the commission values in from case 3 (line 87 to ...
[5 replies] Last: i had to remove option 1 and 2 because only 8192 characters are allowe... (by clio78)
by Morph
Sound in C++
 
I searched for creating sounds in c++ . I found function beep but my brand new mainboard has no speakers i think. Does the brand new motherboards have it ? . My...
[2 replies] Last: The beep function is completly differant from the kind of sound you ar... (by Computergeek01)
by wtf
If statements that call 2 functions in the evaluation expression
 
I was just wondering how does c++ implement the following code: if ( function1() || function2() ) { cout << "testing... " << " " << endl; ...
[4 replies] Last: true means any nonzero positive interger Any (positive or negative)... (by m4ster r0shi)
error
 
I am getting error in this code main must return int== #include<iostream.h> #include<conio.h> void main() { int a,b,c; cout<<"enter the numb...
[14 replies] Last: file>new>project>visualc++>win32console applicatio I had followed t... (by nidhan4u)
by Nikoru
Question about events, XNA and GUI
 
Okay, I just had a few questions and was hoping that someone may know the answer to one or more of them. #1) I recently built a Knight class with some specia...
[2 replies] Last: Well I was hoping to have my game playable on Xbox for just fun and th... (by Nikoru)
May 2010 Pages: 1... 1819202122... 33
  Archived months: [apr2010] [jun2010]

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