Search:

Type: Posts; User: m600

Search: Search took 0.01 seconds.

  1. Thread: Need some help

    by m600
    Replies
    14
    Views
    1,266

    c++ .............................

    c++ .............................
  2. Thread: Need some help

    by m600
    Replies
    14
    Views
    1,266

    ok well this is the code i have so far but it...

    ok well this is the code i have so far but it wont let me use scanf which is commented out atm


    #include <stdio.h>
    #include <DBOS\GRAPHICS.H>
    #include <STDLIB.H>

    int main()
    {
    int...
  3. Thread: Need some help

    by m600
    Replies
    14
    Views
    1,266

    2's compliment so you add 256 to any minus...

    2's compliment so you add 256 to any minus number, then convert it
  4. Thread: Need some help

    by m600
    Replies
    14
    Views
    1,266

    ok i need it to convert the number into a binary...

    ok i need it to convert the number into a binary representation in 8 bits, so 5 would be 00000101
    thanks
  5. Thread: Need some help

    by m600
    Replies
    14
    Views
    1,266

    Need some help

    hello everyone
    i need code which converts any number between -128 to 127 into binary
    this is not my homework but a small part of a task assigned to me which states i can use the internet for help...
  6. Replies
    14
    Views
    2,311

    sweet Elysia i got it now!! thanks a lot...

    sweet Elysia i got it now!!
    thanks a lot everyone!!!
    i gotta go sleep now
    take care
  7. Replies
    14
    Views
    2,311

    well i would want the a++ to be a+2, but when...

    well i would want the a++ to be a+2, but when ever i try doing that it doesnt work....
  8. Replies
    14
    Views
    2,311

    ok i have to write a program which counts from 1...

    ok i have to write a program which counts from 1 to 15 and adds all the odd numbers



    #include<stdio.h>

    main()
    {
    int a,sum;
  9. Replies
    14
    Views
    2,311

    YES IT WORKS!!! thank you so much, is it alright...

    YES IT WORKS!!!
    thank you so much, is it alright if i ask you guys one more thing?
  10. Replies
    14
    Views
    2,311

    thats was my real code... i corrected the int,c;...

    thats was my real code... i corrected the int,c; already
    how do i add braces to specify what it should cover?
    im kinda new at this so yeah....
    thanks a lot


    @MK27 it says there is a semi colon...
  11. Replies
    14
    Views
    2,311

    tried that and im not getting any errors........

    tried that and im not getting any errors.....
    all it does is just let me type
    anything else that can help?
    thanks
  12. Replies
    14
    Views
    2,311

    Help with while's and scanf's...

    hey
    im new here and i have an exam tomorrow so i need to learn how to do this!!!

    the question is to write a program that prompts the user to enter a value, with a message then being displayed...
Results 1 to 12 of 12