Search:

Type: Posts; User: Greek_89

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,102

    Problems inputting char and strings

    Hi everybody,
    I am trying to input a character and right away an array of characters...
    However once i input the character, it doesnt let me input the array character and the program ends...
    ...
  2. Replies
    3
    Views
    1,168

    Thanks a lot...it works now!

    Thanks a lot...it works now!
  3. Replies
    3
    Views
    1,168

    Separating a string in 2 parts?

    Hello everyone,

    Lets say i have this string:

    view source
    print?

    char a_string[30]={"Hello, world"}
  4. Replies
    10
    Views
    986

    well to be honest i was kinda tricky cause the...

    well to be honest i was kinda tricky cause the whole week i tried more than 8 algorithms and i could get it work well... :O I tried "switch" ... "else..if"..."nested ifs"...but thanx for your help....
  5. Replies
    10
    Views
    986

    well even and even2..even-'n' represent each...

    well even and even2..even-'n' represent each integer. Each integer i assign it as a even or odd..since i want to compare each single one, i give them a unique name
  6. Replies
    10
    Views
    986

    ok i made it FINALLY. I used a slightly different...

    ok i made it FINALLY. I used a slightly different approach though..take a look at this little piece: "


    printf( "\nEnter number 3 : " );
    int num3;
    scanf("%d", &num3 );

    int...
  7. Replies
    10
    Views
    986

    the one with the "if n%2 ==0..." i've tried it...

    the one with the "if n%2 ==0..." i've tried it already..however i dont know how to proceeed after that..I mean if i have to check for all the 6 numbers to find the lowest odd/even, it will take me...
  8. Replies
    10
    Views
    986

    Its "Bugging" me for a week!

    Hi everyone

    Im on the peak to explode! :P

    For a week now i am trying to find an algorithm to get 6 numbers which 3 of them should be odd and the other even..Then determine which one from even...
  9. Replies
    17
    Views
    3,932

    yes thats what im saying...it is not wrong but...

    yes thats what im saying...it is not wrong but unnecessary..i was just being sarcastic with the 1+2=3 example..however that a minor thing i should pay attention in c++ :P
  10. Replies
    17
    Views
    3,932

    No its OK! thanks for that..yeah your right.....

    No its OK! thanks for that..yeah your right.. "while(game)" is an alternative...although its like saying 2+1=3 or 1+2=3..but ive seem most of the programs being written like yours
  11. Replies
    17
    Views
    3,932

    if you see my characters,this is english..its...

    if you see my characters,this is english..its just CODED english cause we are in a "cold war" era..

    Anyway for those who hate the greek culture (even though greeks gave you the lights for your...
  12. Replies
    17
    Views
    3,932

    katalabainw ti thes na peis..sthn arxh dn hthela...

    katalabainw ti thes na peis..sthn arxh dn hthela n xrhsimopoihsw suntetagmenes alla opws eipa apla to eftiaksa ayto to paixnidi gia na eksaskhthw sauta pou ematha st c++..(sth periptwsh twn...
  13. Replies
    17
    Views
    3,932

    My Text-Based RPG...

    Hi guys,

    I would like to take a look at this text based RPG i created. It is not even nearly completed. It is just a prototype which helps me to brush up all the things i've learned so far in C++...
  14. Replies
    9
    Views
    1,983

    Learning 2 Languages?

    Is it a good idea to learn two programming languages the same time?
    I was thinking of in addition with C++ to start learn also Python. Does it make sense ?
  15. Replies
    10
    Views
    1,362

    great explanation..now i see a little bit...

    great explanation..now i see a little bit clearer..so what i get from that is that pointers are useful for good memory use..right?
  16. Replies
    10
    Views
    1,362

    OK. im tryin to give an explanation about the...

    OK. im tryin to give an explanation about the output: So we initialize "variable" with the value "5", then using the foo(variable), we pass INTO the function "5", the parameter is "&var" so it shows...
  17. Replies
    10
    Views
    1,362

    I tested it and it gives me the expected output...

    I tested it and it gives me the expected output but why use pointers or references? we could simply use regular variables.
  18. Replies
    10
    Views
    1,362

    Pointer for Beginner

    Consider this:


    void function1()
    {
    int variable = 5;
    function2(&variable);
    }
  19. Replies
    2
    Views
    836

    thanx a lot i appreciate it!

    thanx a lot i appreciate it!
  20. Replies
    2
    Views
    836

    Setting my compiler..(for a rookie)??

    i read the instruction abouthow to set the compiler Code::blocks..
    in step 3, however, i didnt understand the part were it says:

    After clicking "Next", Code::Blocks will then prompt you with...
  21. Replies
    11
    Views
    1,885

    [U]ok it works now..i think...is the output of...

    [U]ok it works now..i think...is the output of this program right?
    after the "hello, world" message, it show this:
    [B]
    Process returned 0(0x0) execution time : 0.053 s
    Press any key to...
  22. Replies
    11
    Views
    1,885

    yes i got the link..thanks..i'll try it

    yes i got the link..thanks..i'll try it
  23. Replies
    11
    Views
    1,885

    do ihave to pay to dowload it?

    do ihave to pay to dowload it?
  24. Replies
    11
    Views
    1,885

    yes i did dowloaded the code:blocks and run the...

    yes i did dowloaded the code:blocks and run the compiler but i could not compile anything with it..instead it gives me a message:
    "It seems that the projest has not been built yet. Do you want to...
  25. Replies
    11
    Views
    1,885

    I cannot compile for VISTA???

    i dowloaded the Code::blocks but i cannot compile any program..I have a vista

    then i read that i have to download a MinGW 5.1.6 exe.but when i downloaded it, icouldnt find the compiler in my...
Results 1 to 25 of 25