Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-26-2005, 11:41 AM   #1 (permalink)
Stephen
Registered User
 
Join Date: Feb 2005
Posts: 1
Stephen is on a distinguished road
Lightbulb New to Visual C++ need Help

What I'm trying to do is have a user input several different numbers and then I need them evalutated to meet preset values and then a test message displayed when a button is pushed.

I have the numbers stored as int variables and the text as a CString. I'm having problems getting it to see the variables, compare them and then
return the text message.
I'm trying to use "if" statements for this.
Example: if (m_iRed >= 12 && m_igreen >= 12 && m_iblue >= 12)
m_stranswer = "What text I need it to display";

If anyone has any suggestions or helpful hints, please let me know, I am just learning this.
Stephen is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting C# projects to run on Visual Studio .NET 2003 Apodysophilia MS Technologies ( ASP, VB, C#, .NET ) 3 02-21-2005 09:24 PM
c simple question problem with switch case if13121 Standard C, C++ 1 10-24-2004 10:43 PM
operate overloading member function in C# sureshkumar_kc MS Technologies ( ASP, VB, C#, .NET ) 2 10-15-2004 03:36 AM
edit? anon Lounge 10 11-21-2002 04:02 PM


All times are GMT -8. The time now is 11:59 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting