Beginners - September 2011 (Page 40)

How to Add Design to my Console Program in TUrbo C++
 
anyone?
[3 replies] Last: This may help: http://www.cplusplus.com/forum/beginner/5830/ (by Undeclared)
by Draahl
cout problem
 
im extremely new to c++ programming, started today actually and ive come across a small problem. I get an error when trying to do a simple sizeof program usi...
[5 replies] Last: You welcome! (by CosminNTG)
by eypros
About terminating a while(cin >> s) loop
 
Hello to everybody, This is my first post in the forum. I will try to be brief. I wrote a small program in order to get string input from keyboard. My que...
[6 replies] Last: Ctrl-D is EOF (in Linux). Unless you hit Ctrl-D (EOF) then the loop s... (by Galik)
Excel crashes when accessing an XLL function.
 
Hi, first post here as I've searched everywhere and can't find a solution, hope someone here can help! I have tracked the troublesome code to the lines print...
[1 reply] : I would build a debug version and step through it with the Visual Stud... (by kooth)
Help on if then, else if...
 
Hello, I am new here and I just started C++, I am trying to do if statements. I wrote a program that calculates my profits on my investments of gold and silve...
[4 replies] Last: Thanks a lot, I will give this a try. :) (by BenjaminFranklin)
by codrgi
show certain value?
 
How do i show the second last number/letter of a string/int? for example take it we have the number 8888888 1 8, how do i just show the number 1?
[1 reply] : value%10 will give you last digit. Value%100 will give you last two di... (by Undeclared)
Reading Text file and filling a 2D array
 
i need some serious help with my program! i need to read a file (test.txt) that has a 5x5 grid with numbers each followed by a zero! like so 01 12 11 09 10 ...
[2 replies] Last: any way of doing this whit a 2D array? (by misaeltovar)
by NJC
But it IS declared...isn't it?
 
Hello. I'm on my second day of c++ and I'm already stuck. Forgive me if I keep this brief - I just spent 10 minutes writing out my problem, then I hit the back ...
[2 replies] Last: Oh my god! That is embarrassing. Thanks for your help. I couldn't see ... (by NJC)
lower case string into upper case string
 
#include <iostream> #include <string> #include <ctype.h> using namespace std; string capital(string name) { for (int i = 0; i < name.length(); i++) { n...
[5 replies] Last: This code works: http://ideone.com/NaQcy #include <iostream> #... (by Moschops)
get characters from string
 
I am having quite a bit of trouble. I can parse a string that I have read from a line of a text file using substr, however, when I want to further extract chara...
[no replies]
Inputting a Console Command
 
How do I make a program that automatically inputs "java -jar <program.jar>" into the command prompt?
[3 replies] Last: Just run it with "javaw" ...or make a simple shell/batch, Perl, Python... (by Mathhead200)
Private access in the public?
 
Hello. I have a feeling this code should not be permitted, but it seems it is. Can anyone explain why? Thank you. #include <iostream> class Dubious {...
[2 replies] Last: Thanks for your reply. For anyone interested, I also found this: http:... (by Catfish)
Classes and Functions
 
Hello I was wondering because I know there is a better way to accomplish this. I'm not asking for code, I would prefer if someone could tell me the name of the...
[5 replies] Last: For either you need an artist. I can draw/generate simple (+ crapy) 2D... (by Mathhead200)
"Dynamic" or User-Created instances of a Class?
 
Hello, I am new, and have been searching the forums for answers, and I don't know any programmers. If I missed this somewhere I apologize. I found something clo...
[4 replies] Last: [quote=uncahead]They remind me of hashes in Perl As well they should.... (by Mathhead200)
Inches to feet problem
 
Asks user height in Inches, output should look like. Your height is 6'2". (assuming user entered 75) This is what i got so far, but its not working s...
[11 replies] Last: The closing rapidly isn't a problem if the program is being run from a... (by Mathhead200)
Project On C++
 
Hi, I am new to the C++ and I have read basic concepts of C++. Now I want to make one project on C++. Can you provide me some ideas or links from where I ca...
[1 reply] : Here are some ideas of things to make. http://www.cplusplus.com/forum... (by drunken meerkat)
filling an array from .txt
 
im trying to fill a 2D array from a .txt file the file has a 20x20 grid with random numbers and this is my code. // open file ofstream myfile; myfile.ope...
[5 replies] Last: ok i changed it! but its not loading my array #include <iostream> ... (by misaeltovar)
HELP!! How to do exponents with while loop?
 
I have a problem that I'm stuck on, it requires to do exponents with JUST, and SOLELY while loop. Let's put an example: user input : 5 5 16 8 4 2 1 ...
[2 replies] Last: ty so muchh thumbs up! (by thecppnewb)
Compiler error: Template in a Library.
 
Hello, I am just implementing a smart pointer class as a little exercise and have these two files "test.h" (library) and "test_main.c" (main program). When I tr...
[no replies]
a little help please
 
hello, I must be having Alzheimer's for the moment because I just cant seem to remember how to put something in a row. Here's the problem that I am doing /*...
[2 replies] Last: Thanks for your help. And yes, the problem is for me to go from 0 to 1... (by illlojik)
September 2011 Pages: 1... 3839404142... 48
  Archived months: [aug2011] [oct2011]

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