Beginners - September 2011 (Page 38)

Newbie: Help with webservice request
 
Hi, I have very little programming skills and I'm willing to create my first first service reque...
[no replies]
Define a global 'set' variable
 
Hi All, I am trying to define a global 'set' object to use it throughout my code. Here is the exa...
[2 replies] Last: That error means you probably forgot to #include <set> or that you n... (by shacktar)
problem with bool -- can't exit loop
 
In the following program I want the program to stop iterating loop when the user chooses choice 6 (l...
[2 replies] Last: Or you could use break to stop the loop. Instead more=false; write ... (by CosminNTG)
Identifying numbers in arrays.
 
I have created a program which takes in the user input for a couple of things and sorts them out in ...
[1 reply] : I don't really know what you want to do in this program. This program... (by CosminNTG)
Problems with char and LPCSTR
 
I have made a program that randomly generates a street name. it worked fine as a console application...
[4 replies] Last: Thank you very much! (by closed account 2NywAqkS)
how to get lenght of number
 
how to get length of a number. like if i input number 1032 (integer type data) how to know that i...
[5 replies] Last: @time to c: Did you execute the mussaAli's program? You enter a number... (by CosminNTG)
Quick question about using float...
 
In my intro C++ class we were assigned to write this simple function program that states the weather...
[3 replies] Last: If the input values (temperatures) are supposed to be of type int an... (by Danielsson)
by eypros
Problem in Template function. Uncomprehensive error message
 
Hello again, I was testing a code from Accelerated C++ and (as usual) came up with some errors....
[2 replies] Last: No I use also header files (I didn't mention) as well as space.cpp and... (by eypros)
by gibran
checking for EOF, reading input
 
Hey everyone i am having a problem with reading input from a text file that looks like this: 9 1 1 ...
[4 replies] Last: ¿then why the last line just got 1 number? ¿do you want "default" va... (by ne555)
Question about pancakes.
 
So I was doing one of the beginner exercises from this website, which is called Pancake Glutton or s...
[3 replies] Last: #include <iostream> #include <vector> #include <conio.h> #include <... (by mussaAli)
The k-th smallest element of a set.
 
I have a question about set (again :D) I want to find the k-th element of a set<int> s. I do it like...
[2 replies] Last: A binary tree is sorted by some key. Since the data is integers, the ... (by webJose)
Stop the countdown
 
I got this program that counts down from a number (specified by the user) to zero, while pausing in ...
[2 replies] Last: You could create two threads; one listens to the keyboard whilst the o... (by Moschops)
switch function error
 
Hi!I have a problem with the switch-case format.After using this function i have reveived this erro...
[9 replies] Last: #define CERC 1 #define PATRAT 2 #define DREPTUNGHI 3 #define TRIUNG... (by crawler)
#warning deprecated or antiquated header
 
I am working on a program that has 3 header files that were provided by the instructor. If I am rea...
[3 replies] Last: FYI, when I recommended switching to sstream, I never said it was a DI... (by webJose)
by Frypot
How to disallow characters
 
Hi, i have received a task for extended study to write a program in C++ that will allow you to enter...
[4 replies] Last: You changed the topic subject, right? I don't remember it was about di... (by Catfish)
Alternative to #define
 
Hi everyone, In the program I am writing I need to include a time stamp which need to be in the for...
[3 replies] Last: Encase anybody is interested here's what the function looks like: vo... (by drunken meerkat)
Selection without decision branching
 
In a basic c++ class, and our assignment is the write a program that does some calculations, then de...
[9 replies] Last: Change what to true or false? c would be replaced with "mass < 90" or ... (by hamsterman)
by efigen
passing filename values to classes
 
Is there any way that you can pass values from your int main function, say content in a file, to a c...
[1 reply] : Functions can have parameters, for example: void function(int paramet... (by Catfish)
How do you keep motivated when times get tuff?
 
I've done some beginner level programming in BASIC and Python. Just a week ago I decided to try C++....
[8 replies] Last: Thank you all for your replies. I decided to skip that part of the bo... (by carebearboy)
braces program (logic)
 
Hi Everyone I am writing a code to check if the braces are balanced, but I am confused on how to eli...
[9 replies] Last: Don't forget: // This \ is a comment {} "This \ is a string {}" ED... (by helios)
September 2011 Pages: 1... 3637383940... 48
  Archived months: [aug2011] [oct2011]

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