Beginners - April 2009 (Page 13)

wanting a second opinion!
 
Hey guys! For my semester 2 programming assignment I wrote a program that reads in a file (html), and checks that the html tags are in lower case, and if not...
[4 replies] Last: Read up on functions: http://www.cplusplus.com/doc/tutorial/functions... (by eker676)
by upo
overlapping
 
Hey guys, its me again... I managed to combine 2 images together, but the problem I am facing right now is that if the 2 images overlap, I need to make an algor...
[4 replies] Last: Or your functions could return the RGB values directly for each pixel,... (by andrei c)
by mfarr
calculating responses
 
2 questions 1.I'm trying to calculate the number of correct/incorrect responses after x number of questions, a running total. i.e. 2 correct 1 incorrect. ...
[3 replies] Last: Thanks, that has helped me solve quest. #1 I am now able to keep track... (by mfarr)
function counter
 
i have a program where it displays 1-5. it has to increment in the count() function, but it only displays 1's. how do i fix this? #include<iostream> using ...
[13 replies] Last: oo i see!!!!! Sorry to be a pain up the arse guys. Appreciate the help... (by arcadiu)
Not sure what I am doing wrong(File IO)
 
Basically, what happans is that the save works perfect, just that when it loads, it just outputs to screen and not into where i had wanted them to go. Also when...
[3 replies] Last: What helios means is that you will not be able to extract individual v... (by eker676)
by GANTOR
Any program ideas?
 
Hey guys, just checking to see if anyone had a good (not necessarily) program idea. I have just finished a big one, and I have kind of drawn a blank. Any help w...
[13 replies] Last: Yah, the point being to post solutions that somebody can't just submit... (by jsmith)
Another weird error
 
Hi, heres another weird error in my compiler. Anyone knows the solution to it? fatal error C1070: mismatched #if/#endif pair in file 'd:\program files\micros...
[2 replies] Last: Have you #included your own header file/files before #including stdlib... (by jsmith)
by mdgdoc
I can't see the forrest
 
I have worked on this weeks, it still will not round the results. Any suggestions? Program Description: Program will recieve from the user a positive decim...
[4 replies] Last: Hmm weeks and not working? Well use this bit of info to ur advantage. ... (by arcadiu)
what is the use of wchar_t?
 
I understand char type and when to use it. I like to understand what is the use of wchar_t and when i should be using it.
[6 replies] Last: thankyou (by arcadiu)
error compilen: Cannot open source file
 
Hi, I get this error when i compile: Compiling... baddie.cpp c1xx : fatal error C1083: Cannot open source file: '..\baddie.cpp': No such file or directory...
[2 replies] Last: ok thank you! (by wolfsklauw)
L.system
 
please i need help with my code below, when ever i enter a wrond password first it gives me an error which its suppose to, but when entering the correct code ne...
[13 replies] Last: so try: if (encrypt=='\b') { Password.erase(Password.size()-... (by Bazzy)
by token
Calling Another Program's Functions by References
 
Is calling a function of another running program by using the reference of that function a possibility? Suppose you create a square function in another program ...
[2 replies] Last: (Well, actually, you can , but it requires playing with compiler-spe... (by Duthomhas)
What program to use - Newbie
 
Hello, I just today want to start using c++ i have been putting it off to learn it for a while and now i am motivated. I have a Macbook running leopard 10.5....
[7 replies] Last: sorry to go offtopic but objectice c offers an interface builder which... (by arcadiu)
by ZYV
Extend classes w/o inheritance?
 
Hello! I'd like to implement operators > and < for bitset class. I know how to do this for a class of my own (1). I also know I could create a new class inhe...
[4 replies] Last: Thank you very much, now it's clear! You're very helpful :) (by ZYV)
Array question
 
Ok, so I am a novice C++ programmer and I wanted to make a program that indexs products. The program would hold the price of a product and the name and the user...
[11 replies] Last: hmm no need im on a mac so i dont have that problem :) (by arcadiu)
programm doubt
 
#include<iostream> using namespace std; class Buddy { }; template<class T> class My { int i; public: void play(My<Buddy>& s) { s.i =...
[1 reply] : Because you are breaking encapsulation, even though the type of *this ... (by jsmith)
Problems setting up allegro with MinGW/Cygwin
 
I'm using NetBeans IDE 6.5.1 with MinGW installed. Recently, I tried installing allegro library by downloading the pre-built binary. According to the installati...
[2 replies] Last: I'm not sure what the 'allegro-config --libs --static' does. It was a ... (by Almsoo7)
the use of getline
 
string name ; cout << "Please enter a name? << endl; cin.getline(name , 30); i have a problem with this piece of code. i want to make sure tha...
[8 replies] Last: The reason is that you are only outputting 1 character. Change line 3... (by kempofighter)
by masiht
How to use class and member functions
 
Can someone please tell me how to make this program using classes and member functions please ? #include<iostream> using namespace std; #include<stdlib...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/functions/ http://www.cplusplus... (by eker676)
Employee
 
I so stuck can someone help me Write a complete class according to the following requirements. --The class is called “Employee”. --It has 4 private...
[1 reply] : Try to code it on your own first. No one is going to up and write the ... (by eker676)
April 2009 Pages: 1... 1112131415... 28
  Archived months: [mar2009] [may2009]

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