Ugh I needed to do if (x==y) instead of if (x=y)... Thats what was wrong... It all works now! Well besides the quiting part, but theres a button for that so...
Type: Posts; User: MrHoboMe
Ugh I needed to do if (x==y) instead of if (x=y)... Thats what was wrong... It all works now! Well besides the quiting part, but theres a button for that so...
I tried using the 0's and ones as well as the & # 4 5 ;(there are spaces so the computer doesn't post it as a +)
So you want me to say: if (act='00101011') for + because the table says
43 053 2B 00101011 + + Plus
Dont really get what ur saying with the frist one mate... Yeah I tried initializing the variable as a specific number before the loop... Didn't work... Seems like a simple script but its being very...
OH, yeah srry. Well when I try to quit it gets a glitchy and puts tons of numbers(infinate 0's and 1's sometimes and +[some random large number] over and over again). I just made the script go on...
I want it to loop there so that you can continue entering different equations in without re-opening. Without a loop u can only enter 1 eqaution each time u open the program.
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
int N1;
char act;
Hah, thats true, I understand a lot of what i know, but I don't understand, some of it, I just know what it does... But that s the first step, then once I mes with it, I tend to understand it.
I know, but now I know they are supposed to be class's or structures, and I must admit I didn't read thuroly(however you spell that) enough on those. Thanks, i'll re-read those tutorials and i'll...
Hey bubba do I need a header for the mouse thing???
whats wrong with this script?
#include <iostream>
using namespace std;
int main()
Thanks tabstop, but you were wrong. However, I found a game someone made that used these types of scripts and they used this script to restore the default colors:
SetConsoleTextAttribute ( h,...
TYVM, 1 more question. I was working on changing the color of the text(I was SOOOOO happy when I finally figured it out)but how do I set the text back to normal?
Heres what I was doing:
...
3d picking? kk I am trying I'm just loosing my mind while i'm doing it because i've only been doing this for a few days but i've been cramming everything in...
Hey, I'm not asking you to spoon feed me, I been trying to figure this junk out for couple hours. Could you at least tell me a mouse script or, explain the difference between the different types of...
Someone help me!
Hiya, I am relatively new to C++ code, and I am having a hard time advancing from my current position. But there I two things I really want to learn now. that is graphics and clicking. I think...
Yeah I saw that... But whats the difference between them?
Hi, I know quite a bit a about C++ now, and I think the next step is graphics. Can someone explain how I would do graphics, or point me toward a tutorial?
Oh wow half my code is outside of the main, haha!
Thanks everbody. I had only been learning for like I day so there were probably a ton of minor formatting errors, but I didn't know why I couldn't get char's to work, now i do so we are all good.
...
#include <iostream>
using namespace std;
int main()
{
char name;
cout<<"whats your first initial?";
cin>> name;
cout<< name;