Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How can one protect the piracy of his software?

novasheepnovasheep Member Posts: 29
whats wrong with this code?

[code]
#include


int number;


int main ()


{
std::cout << "What number will kill you?: ";
std::cin >> number;

if (number=="1")
{
std::cout << "Wrong your stupid";
}
if (number=="2")
{
std::cout << "Wrong";
}
if (number=="3")
{
std::cout << "Invalid";
}
if else (number=="4")
{
std::cout << "Wrong";
}
return 0;
}
[/code]

Comments

  • novasheepnovasheep Member Posts: 29
    i got it my bad but ether way thanks for all the help in the past good community here :)
  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    _ / http://forcoder.org / free ebooks and video tutorials about [ C#, C, Perl, Swift, JavaScript, Objective-C, Delphi, PL/SQL, Go, Ruby, C++, MATLAB, R, PHP, Java, Visual Basic .NET, Visual Basic, Assembly, Python, Scratch Crystal, D, Rust, Lua, Logo, F#, VBScript, Scheme, Hack, SAS, COBOL, Awk, Dart, Bash, Alice, ML, Scala, ABAP, Kotlin, Prolog, Ada, Apex, Transact-SQL, FoxPro, Lisp, LabVIEW, Fortran, Erlang, Clojure, Julia ] ________

Sign In or Register to comment.