generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: C++ HELP

Previous Thread :: Next Thread 
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
02 Oct 2015 09:40 PM
If possible, how can I say like when I click 'Space' it would output [SPACE] instead of the actual ' '(space)?
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
02 Oct 2015 09:54 PM
cout << x==' '?"[SPACE]":x << endl;

?


#code print("~ 1Topcop ~ WebGL3D ~ Data3D ~ Purple Squid >") -- R+
Report Abuse
Zakusa is not online. Zakusa
Joined: 16 Feb 2013
Total Posts: 359
02 Oct 2015 10:01 PM
this is roblox lua not c++ and

if (GetAsyncKeyState(VK_SPACE)) {
cout << "Space" << endl;
}
Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
02 Oct 2015 10:23 PM
Figured out, thanks
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
02 Oct 2015 11:35 PM
@Zakusa People can still ask about other programming languages.
Report Abuse
Zakusa is not online. Zakusa
Joined: 16 Feb 2013
Total Posts: 359
04 Oct 2015 01:30 AM
O ya it says scriptures not roblox scripter
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
04 Oct 2015 02:59 AM
This level of scripting is WAY out of my boundary's of Roblox Lua. XD
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
04 Oct 2015 03:13 AM
I do OpenGL with Lua and Java and probably moving to C# because I don't want Jar files and be able to manipulate my window, as else I would use LWJGL Display class :/

C++ is soooo lame in the terms of handling stuff, but it does have really great features that I'd like to inherit into my C-root language I am going to create.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
04 Oct 2015 03:17 AM
'C++ is soooo lame in the terms of handling stuff'
uhh, how?
Report Abuse
yobo89 is not online. yobo89
Joined: 05 Jun 2010
Total Posts: 2341
04 Oct 2015 03:22 AM
@cody

Your making the right decision moving to C# :)

C# MASTER RACE
Report Abuse
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
04 Oct 2015 03:26 AM
How do i get started with C++ / C#
Report Abuse
yobo89 is not online. yobo89
Joined: 05 Jun 2010
Total Posts: 2341
04 Oct 2015 03:29 AM
Download visual studio and start with console applications. Use the wiki and check the API, to work it out. Theres a nice beginner course to c#

https://channel9.msdn.com/Series/C-Sharp-Fundamentals-Development-for-Absolute-Beginners
Report Abuse
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
04 Oct 2015 04:00 AM
What vs?
Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
04 Oct 2015 01:31 PM
I'm pretty sure C# is a windows only thing though
Report Abuse
notfruit is not online. notfruit
Joined: 21 Sep 2012
Total Posts: 1386
04 Oct 2015 01:34 PM
^ linux can also run C# w/ Mono
Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
04 Oct 2015 01:46 PM
Oh okay
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
04 Oct 2015 04:10 PM
@cnt
In a lot of ways, C++ is good. However, in order to achieve what I want, you have to do things I would find useless or lengthy for no reason.

Example:

struct example{
int a, b, c;
example(int a, int b, int c) : a(a), b(b), c(c) {

}
}

What is nice about this structure:
You don't have to do this->a = a; et cetera.
You can specify multiple data types in one line. (not a problem)

What is bad about this structure:
Too many characters to assign variables to variables in the constructor.

What I would like:
struct example{
int a, b, c;
example(int a, int b, int c) : a=a, b=b, c=c {

}
}

or

struct example{
int a, b, c;
example(int a, int b, int c) : params {

}
}

@yobo
I don't care for namespaces in C# which will be annoying. I might just adopt using structs, while not touching classes apart from the entry point.

@apoc
1. Download an IDE
2. YouTube tutorials
3. Refine what you know

@secretid
Scripting is not programming. It is coding.
Report Abuse
jody7777 is not online. jody7777
Joined: 22 Feb 2009
Total Posts: 1343
04 Oct 2015 06:32 PM
c++ is god


FOR THE CAUSE
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image