Beginners - October 2013 (Page 61)

invailid operands to binary expression ('float' and 'float)
 
In the line indicated below I get the error, "invailid operands to binary expression ('float' and 'float). I'm trying to display the radians as "pi radians" fo...
[4 replies] Last: Thanks, I will take advantage of that! (by Akoubek91)
Creating a Password
 
I am required to create a program that asks a user for a password. The password must contain no less than 6 chars and have one upper case letter, one lower cas...
[2 replies] Last: by "limits" do you mean like "You have X tries to enter password" ??. ... (by jaydizzle)
by pixilz
Passing data from one array to another using C-Strings.
 
Edit: I was wondering how to make a pointer to an array and then using that pointer put information into the array. Apparently, this is how I am supposed to fil...
[2 replies] Last: user_text = tmp; You cannot assign arrays in this fashion. To cop... (by Disch)
problem in printing of stars
 
I cant figure out what is the problem. the program is to print this pattern ____* ___** __*** _**** ***** ...
[1 reply] : Hi there, Welcome to the forums. Please wrap your code in [cod e] -t... (by closed account o3hC5Di1)
Array to show distinct numbers
 
Need help I have know Idea what to do please help me, help me with code or tell me what textbook to look up or something I need code to finish this program and ...
[2 replies] Last: I have too do one of these two things and I don't know what they mean?... (by wisdomlearner)
How to Assign a value to an Integer?
 
Hey guys, Im trying to assign a value to an Integer (Yeah I know probably extremely simple but im completely new to C++). How do I do this? This is what ...
[7 replies] Last: Hey guys, thanks for the many answers although I have another questio... (by Cheesus)
by Ch1156
Why does this code not work?
 
Ok so in my program it's supposed to load names from a file and i wanted to make soem error handling in case the file was empy or missing so i did, however the ...
[6 replies] Last: Ok so i did this, is this better? It works anyways void GetCustomer... (by Ch1156)
Mouse Cursor Windows
 
Hello Forum People..... The following program is not working as intended. I want to mark 'o' at the cursor position in window. The screen to client part ...
[1 reply] : GetCursorPos will give you the position in pixels . Your gotoxy funct... (by Disch)
by cshu
need help with a program
 
PROGRAM SPECS A veterinarian needs a program to manage his processing of his patients. When a person arrives with their pet, the pet information is input into ...
[1 reply] : Hi there, Could you please be a little bit more specific about what i... (by closed account o3hC5Di1)
<cstdio> fscanf problem
 
I have some problems with my code, i'm not sure if it's correcty written this is why i am here. For example, i should get this: cutie.in : " 6 2 ....XX ...
[5 replies] Last: omg dude, you're a sick genius MAN!! YOU DID IT MAN YOU DID ITTTT!!! F... (by vladpotra)
missing function header (old-style formal list?)
 
how do I solve this error? // q 2.0.h #include<iostream> #include<cmath> using namespace std; namespace q20 { public ref class Class1 { /...
[5 replies] Last: I finally solved the problem I had a ; on main and needed 2 at the bot... (by toddhobza2)
by sri248
How do you find min and Max for this problem? PLease Help
 
* PQ2.CPP Programming Quiz #2 */ #include <iostream> #include <string> using namespace std; void printArr( int a , int cnt ); int sumArr( int a , i...
[1 reply] : Min and max you would just have to loop through the array and compare ... (by giblit)
books for begginers
 
as a beginner i need a good book for help in c++, so, can anyone suggest a better book for c++.
[3 replies] Last: C++ Without Fear: Second Edition (Brian Overland) (by closed account NUj6URfi)
Passing array values between functions.
 
The purpose of this code is to: 1)Read in an existing text file called "mandelinput.txt", and create an array of those values. Its the, "importFile()" Lines ...
[3 replies] Last: Your example data does not match exactly the PPM format. MaxGrey (or l... (by keskiverto)
by sri248
Can any one figure this out and help me?
 
/* PQ2.CPP Programming Quiz #2 */ #include <iostream> #include <string> using namespace std; void printArr( int a , int cnt ); int sumArr( int a ,...
[5 replies] Last: yes (by sri248)
C complex #define question
 
What does this statement do? I know ## concatenates and I know the converts macro parameters to string literals, but overall I'm not sure what this statement do...
[4 replies] Last: Thanks, and have a great day! (by pronesti)
by brillo
Singly Linked List Problem
 
I was assigned a project in which our professor gave us this code for a class which creates a singly linked list but I am having trouble using this code in my m...
[3 replies] Last: Assuming that the class' implementation is correct, from the looks of ... (by Josue Molina)
by bronx
Visual Studio setup
 
I use Visual Studio 2010, C++. I have trouble with the interface and not so much with the actual coding. 1. Where can I find a simple list of all options in the...
[3 replies] Last: http://stackoverflow.com/questions/6054066/vs2010-project-is-not-up-to... (by mutexe)
by ephekt
Strange error need help
 
Im getting a strange error from line 108 reading, "non-lvalue in assignment" all im looking for is a point in the right direction Thanx #include <iostream> ...
[9 replies] Last: division in line 105 should be multiply now the program works as inten... (by ephekt)
How would i loop??
 
How would i loop the main menu with code??? // This Program is for Frederick A. Bowser #include <iostream> #include <string> #include <iomanip> #include...
[3 replies] Last: Hi there, A common way to loop a menu is something like the following... (by closed account o3hC5Di1)
October 2013 Pages: 1... 5960616263... 86
  Archived months: [sep2013] [nov2013]

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