Beginners - May 2013 (Page 39)

by Sandz
Need help with "Error no operator matches these operands"
 
I am experiencing these errors and I have no idea how to get them solved. Please help. Thank you so much. My codes: #include <iostream> #include <iomanip> us...
[2 replies] Last: A couple other issues: Line 61. status should be double . Line 7... (by AbstractionAnon)
by Zexd
Checking
 
This is supposed to check for a type of number input by user. For any number put in a and zero in b it says the same thing (Number is real). I would also like t...
[2 replies] Last: The <cmath> library has many functions available to make this a very s... (by Chervil)
book store
 
help me to do this.. please.. show me how http://odyssey.calm.unimas.my/file.php/4759/KMK1093-GProDesc-021213.pdf
[2 replies] Last: Was just wondering: but getting the following error.. Sorry, 'KMK109... (by compiler)
by Henez
Problem with files and global variables
 
I have a problem and I can't understand any of the solutions online. It's a file management problem. I have 5 files: - Sprite.cpp, Sprite.h - Game.cpp, G...
[4 replies] Last: Adding Sprite spriteList ; gives me this error now: Error 1 error C21... (by Henez)
by rayp
Learning C++ coming from MATLAB (an applied maths background)
 
Hi All, I am a MSc student from an applied mathematics background. The majority of my programming experience has been in MATLAB, work involving lots of matri...
[2 replies] Last: I suggest you edit your first post and move this thread from Beginners... (by Catfish4)
gfx.PutPixel [BEGGINNERS SKYPE CHAT]
 
I see this code in many directx tutorials >.> Sometimes this code is really long,i mean like 1000 lines of this.. I know what that line does ,but can i get th...
[no replies]
by jihan3
i need help !!!!
 
I HAVE DONE UPTO THIS.BUT I NEED TO FIND THE AVERAGE OF UNDERGRADUATE STUDENTS MARKS.PLEASEE HELP ME #include <iostream> #include <string> using n...
[1 reply] : Hi Jihan, for better readability please use "<>"(Source Code icon) to ... (by compiler)
how to read write files consist of multiple files
 
how to read write files consist of multiple files recently i modified a .dat file of a game when i extract the dat files using a program, it consist of mult...
[2 replies] Last: [quote=MiiNiPaa]Basically it is an archive with custom compression alg... (by OxBADC0DE)
This did not compile..error messages are below.....//
 
#include<ncurses.h> int printtriangle(int i, int c ,int j); int main() { int c, i, j; c = 14; initscr(); printtriangle(i,c,j); getch(); endwin(); retu...
[4 replies] Last: Thank you very much sir.....// (by harshmad)
search string in a file
 
how can i search string like "ATG" or "CTG" etc in the outfile, and when it will find "ATG" then it will show like "we find ATG in ATGCCTGAGA sequence" or else ...
[1 reply] : I haven't ever tried this, but maybe you can load the text from the fi... (by Vidminas)
Login to open another cpp
 
Okay, now as you may know I'm relatively new to C++, that is why I'm posting in the beginners section. Now I don't know if this is really that much advanced at ...
[1 reply] : As for an IDE I prefer using Code::Blocks. Have you heard of a library... (by Vidminas)
by wzrd
Randomized array number search??
 
Having a bit of trouble coming up with the functions, any help would be nice. #include <iostream> #include <ctime> using namespace std; //Program will ...
[1 reply] : [quote=wzrd] //Program will load an integer array with random numbers ... (by OxBADC0DE)
function to change case without using array
 
How would you write a function to change the case of letters in a name say "bob s. smith,karen b. wright" into "Bob S. Smith,Karen B. Wright" without using any...
[8 replies] Last: How would I do this using string concatenations? (by nikki1337)
palandrome test using pointers (1,2)
 
i have an assignment for class where i have to use pointers to check if an input is a palindrome. i cant use or indexes in my bool function below is what ...
[20 replies] Last: Thanks for everyone's help, i got the program to run correctly. (by ninthred)
break; question!
 
If i have a loop like this. while(counter!=0){ if(x==0) cout<<"hi"<<endl; while(y!=0){ if(y==letter){ condition=true; } else{ condition=false; ...
[2 replies] Last: great, thank you for the quick response! (by sakonpure6)
by ragmop
C++, cin>>, Cout<<
 
I have codeblocks 11.12 working. I use Teach Yourself C++ in 24 hours, and Teach Yourself C++ in One Hour A Day. The programs all stop at cin>>, I can make some...
[3 replies] Last: Ispil (105) Thanks it works just fine. ragmop (by ragmop)
Overloading operators
 
The program converts the day enter into month and day. The problem I have is trying to get the overloading operators to work, so far the operators aren't workin...
[7 replies] Last: That's because the day integer you have in main is in no way related t... (by Bourgond Aries)
how do i connect my array functions?
 
so this is my goal im trying to create 3 matrix functions, but i am also trying to create another function that shows the numbers of each matrix. when I run my...
[6 replies] Last: OK, so i think im making progress but still not sure. For the first pa... (by newbie1)
by new2c
Theater Seating 2D Array passing through function
 
I'm supposed to write a program that displays a theater seating, ask the user to give each row a price, then ask if they want to purchase a ticket. their respon...
[2 replies] Last: Thank you SOOO much for your help! I was able to get the program to w... (by new2c)
copy file
 
How can i copy output of this dna1.dat file and copy the value inside a new file dna2.dat? #include <iostream> #include <fstream> #include <string> using...
[7 replies] Last: if you want to save a line of code you can do this instead fstream fi... (by giblit)
May 2013 Pages: 1... 3738394041... 66
  Archived months: [apr2013] [jun2013]

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