Beginners - June 2012 (Page 35)

How to get leftmost number from an integer
 
Hello I got one type of questions, I did it right but one thing I couldn't know how to do it, actually I am not that good in math so I couldn't find a right ...
[2 replies] Last: You don't need an "equation" for the leftmost: int LeftMost = 0; Num... (by coder777)
X
 
X This has been solved. And I realized that the program I made was careless. Sorry for wasting your time.
[2 replies] Last: If you do not make an effort, neither will I. (by Da0omph)
by IU1
Arrays to calculate grade info
 
Hi, For some reason why my program is failing to build and I'm not able to rectify the issue. Would appreciate if someone can help me. This program helps...
[7 replies] Last: One thing I learned about the Visual Studio software is that it has re... (by Volatile Pulse)
by XzqtN
Help with code please
 
can anyone explain to me what this line of code does count --; much appreciated
[6 replies] Last: cout << count << endl; The endl is actually what does a line brea... (by Volatile Pulse)
how do i exite a program with Ctrl+C
 
I can not figure out what code to use to allow a user to end my program in c++ by pressing ctrl+c can someone please help me?
[13 replies] Last: @atown282 Here is a small program that I changed from checking for th... (by whitenite1)
No matching function
 
Since I'm doing this for a problem of sorts on a site anyone can join, I won't release my whole code, but here's what I tried. #include <iostream> enum m...
[14 replies] Last: Oh. *Facepalm* Thanks. I seem to make incredibly stupid mistakes su... (by Whovian)
by jPytlo
I/O with files
 
Just a quick question here. What are the advantages, if any, of using ifstream or ofstream over fstream?
[1 reply] : It's a bit more unambiguous and ifstreams and ofstreams only contain t... (by Albatross)
Making a AZERTY converter and ran into problem
 
I am making a program that converts qwerty keyboard into a azerty keyboard. How it works is when you press q the program presses backspace then releases q then ...
[no replies]
how long does it take to learn c++?
 
How long does it normally take to learn c++ basics?
[5 replies] Last: [quote=max rakozy] "How long does it normally take to learn c++ basics... (by closed account zb0S216C)
by mastmi
OR function
 
Hello there fellow developers, i'm stuck on thinking if C++ has an OR function I.e, if(This or That)Do.this(); don't know if I'm confusing myself with java, wou...
[1 reply] : In C++, you can do the following: if (This or That) { // code here }... (by Moschops)
while???
 
Hi guys, i started learning c++ a few weeks ago, and im getting better everytime, but im stuck with this. I know its probably a very **** thing but i just can f...
[15 replies] Last: All i would say is that you should normally use the string type for c+... (by closed account ypfz3TCk)
Reference, const reference and value parameter
 
Hey im a bit confused about when to use const and reference parameters etc.. with this definition: bool operator==(const MyVec& x, const MyVec& y) const; ...
[15 replies] Last: I'm a little confused. I thought that a const reference could be used... (by Athar)
Increment help??
 
Hey guys! In the process of learning C++ and my issue now is how to output a result depending on the user's wanted increments. Say, the user requested the va...
[no replies]
strange long error message
 
There are 13 of these errors before the compiler stopped, lexicon.obj : error LNK2019: unresolved external symbol "void __cdecl Error(class std::basic_string...
[13 replies] Last: fixed it; I found two differing year versions of .c and .h, 1994 and 2... (by forestPeterson)
Payroll Program Help Needed (Loop)
 
Hello, my assignment for my Intro to C++ and OOP class is that I need to be able to make a payroll system that loops and allows the user to input the amount of ...
[8 replies] Last: This is what I have with errors: #include <iostream.h> main(){ ... (by LaC0saNostra)
my code wont do what I want it to do
 
Oh well :/
[9 replies] Last: The program is like a test. First you get random numbers and that rand... (by Volatile Pulse)
Code Review - Sliding puzzle with A*
 
Howdy, I'm a beginner programmer and new to the board. I have recently wrote a program for school, and I was hoping someone can look through it and point out...
[2 replies] Last: Thanks for the reply, I would of added some more features but ran out ... (by Gigemaggies123)
C++ Tutorial: Creating a C++ Megamillions Program
 
These two tutorials came out VERY well. The first one shows you how to write a C++ program that generates an unlimited number of Megamillions lottery numbers. T...
[4 replies] Last: >>Why is this using arrays, especially when it #include'd <vector> @C... (by DjereUniversity)
Vectors with 1.000.000 elements
 
Hello, I'm using C++, MinGW developer studio. I need to check how many pairs of { x, x^2 } are in a vector(the same vector).The vector has "n" elements and 2<=...
[10 replies] Last: @LowestOne: I've got an O(1) algo for that: count = (int)sqrt(100000... (by BlackSheep)
Convert decimal to binary
 
Hi cplusplus forum, I'm writing some code to convert decimal to binary. Any ideas on how to get this to compile? // k = 0; // while n !=...
[1 reply] : Hi there, once again, please give this your best shot and try it firs... (by closed account o3hC5Di1)
June 2012 Pages: 1... 3334353637... 51
  Archived months: [may2012] [jul2012]

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