Beginners - June 2010 (Page 6)

how to load .pgm file on picture box
 
hi.. i'm trying to load a file with extension .pgm on the picture box ... i need help to doing so .... any help plz !!
[1 reply] : :( :( (by mohamedhassan)
Initializing list
 
Can I write expression in initializing list, for example, A::A(double diameter):area(diameter*diameter*3.14/4) { ... } here area is a data member o...
[3 replies] Last: Take a look at my article, more importantly Disch's reply: http://ww... (by mcleano)
openfile dialog
 
hi.. now i'm trying to use the openfiledialog in a gui app .. what i have done till now is that 1. open visual stdio 2008 2. select c++ project 3. select wi...
[no replies]
What is function prototype scope?
 
Hi friends, could you explain me what is function prototype scope? , examples are great for me.
[2 replies] Last: A name that is in the parameter list of a function prototype has fu... (by closed account z05DSL3A)
by Mooby
Installing libcurl in VC++ (windows)
 
Hello, Recently I've gotten interested in "socket programming." I noticed many people mentioned using a library called "libcurl." It seems like a great libra...
[4 replies] Last: possibly, you have to create .lib file with provided source codes an... (by Dufresne)
Class not receiving correct values.
 
The matrix class is not receiving the correct values.The code compiles correctly but the field value gets same as that of the field. #include<iostream> ...
[1 reply] : I see one problem which appears throughout the code. A 2x2 matrix shou... (by closed account D80DSL3A)
by cmccmc
why am i geting this error
 
For Some reason im getting the error error C2181: illegal else without matching if with this code, can someone tell me why #include <iostream> #include <...
[6 replies] Last: ok i finally figured it out (by cmccmc)
dynamic memory array deleting problem
 
hi i have a problem with my code everything works fine the program do what it does but the problem is that i cant delete the array that i just create it shows a...
[3 replies] Last: Your delete lines are fine. It is your RandomArrayFill and PrintArra... (by firedraco)
Vector problem
 
hi again here is what my program should do: the program ask the user to imput the size of an array then the program must create the array fillit it with random ...
[3 replies] Last: Well at least talking through the problem among yourself helped you so... (by Galik)
Button Fading
 
So I made my form and I know how to do everything, except one thing! That is when I push the button it fades and it forces you to wait 10 seconds before you can...
[no replies]
String Variables (Two Word Input)
 
Hello, I am working on a program where I have to get a full name from the person putting in input. I have to do this through one string, not by splitting the ...
[8 replies] Last: Actually the old C function gets(char*); should be avoided at all co... (by Galik)
Alternative to switch
 
Hello Forum, I had an idea for a program that asked the user how many 'participant's they had and then asked them to input 'values' for each of those partic...
[3 replies] Last: Here's a little piece of advice, for learning computer science: Ask yo... (by declan)
by cmccmc
whats wrong with this code?
 
It's probably because of a simple mistake but why isn't this loop working, the one im talking about is the for loop at the bottom, it's suppose to convert whate...
[4 replies] Last: actually, i had to remove cout<<Conversion_Type altogether because if ... (by cmccmc)
My first C++ program
 
Im new to C++ and want to write a quick little program. What I want it to do is ask for two numbers, then it will multiply the two numbers. If the number is g...
[2 replies] Last: Idd, just move the the intitialization of diabeetusavg below the two i... (by Vladwow91)
Defining variables in switch
 
Hi there! I'd like to define a variable in switch: switch(a) { case 1: int b = 444; //! break; case 2: int c = 777; //! break; } but I ca...
[6 replies] Last: I get it now - thx :) (by john891)
by Gio
Running App written in Visual C++ Express on another PC
 
I wrote a console calculator application in Microsoft Visual C++ Express 2010 and built it as release. It runs fine on my computer but when I moved it to anothe...
[1 reply] : You need to post the code and the exact error message. (by dasman)
Dev C++/Visual
 
I am a little curious if there are any advantages to either Visual C++ or Dev C++. I have seen serious projects completed on both. Personally I find Dev C++ e...
[1 reply] : DevC++ uses MingW (windows gcc port ) as the compiler and Visual C++ u... (by closed account N85iE3v7)
by komrad
randomly reverse two selected words
 
I need to write a code which a class named String defined with data member sentence(char) which has two member functions: 1)to read the sentence (input) 2)to...
[4 replies] Last: Not meaning to be snotty, but if you actually have no idea how to go a... (by declan)
Unordered combinations
 
I know how to generate ordered combinations, but how do I generate unordered combinations (please tell me the fastest way because I can only think of slow ways ...
[1 reply] : Are the ordered combinations unique? Can you have "ABCBD" and, if so,... (by PanGalactic)
If statement running when conditions are not met.
 
Greetings, I am currently messing about on the exercises in the articles section, and i am getting some strange results from the while (user == gullible) ta...
[2 replies] Last: Well that bloody explains it, doesn't it.. So blind! (by Vladwow91)
June 2010 Pages: 1... 45678... 26
  Archived months: [may2010] [jul2010]

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