Search:

Type: Posts; User: AlexTank853

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,533

    I am relatively new to C, and i am learning about...

    I am relatively new to C, and i am learning about buffer overflow as of right now. I know what it is but i don't necessarily know any pros of C not preventing this, if there is any. This is why i...
  2. Replies
    3
    Views
    1,533

    Buffer Overflow

    TheC language program environment does nothing to prevent buffer overflows ..... is there any pros to the obvious cons of this?
  3. Replies
    6
    Views
    972

    when i run it in dev C++ it automatically closes...

    when i run it in dev C++ it automatically closes :confused:
  4. Replies
    6
    Views
    972

    would this call the name into the argument like...

    would this call the name into the argument like you said?



    #include <stdlib.h>
    #include <stdio.h>

    int main( int argc, char** argv)
    {
    int i;
  5. Replies
    6
    Views
    972

    What is this program supposed to do?

    The question I am having trouble differentiating between is #2 in my homework in comparison to # 1. The first one asked me to prompt the user for their name make it into a string and create a...
  6. Replies
    1
    Views
    829

    need help with this string lab

    im getting a [Linker error] undefined reference to `WinMain@16' [Linker error] undefined reference to `WinMain@16' in the compiler. Kinda picking up where I left off and need an opinion.

    ...
  7. Replies
    3
    Views
    2,340

    Find me this last syntax error!

    I receive the error right on the last line that contains the final bracket of the program and i have no idea why maybe a new set of eyes can help me


    #include <stdio.h>
    #include <stdlib.h>...
  8. Replies
    5
    Views
    950

    What did I do wrong?

    The assignment wants me to print the value and the address of a and b, i dont know why I am having so much trouble with this it seems simple, i just need some direction.


    #include <stdio.h>
    void...
  9. Replies
    1
    Views
    1,756

    Mean Median Mode Problem

    It has a compiling error and highloights the retunr (0); saying theres a syntax error before it. I cannot find the problem anyone care to help or improve my program.


    #include <stdio.h>...
  10. Replies
    5
    Views
    4,428

    the first one

    the first one
  11. Replies
    5
    Views
    4,428

    Translate a C program to Pep8

    How would i go about converting a simple guessing game i made in C into a pep8 program?
  12. Replies
    5
    Views
    2,764

    Guessig game

    ok so the computers supposed to guess my number however when i go to run it it asks what my repsonse to its guess is and shuts down. Anyone that can help? I would much appreciate it :)


    ...
  13. Replies
    1
    Views
    1,229

    help with repeatedly calling the user

    Ok so here it is, The programs basic function is to calculate the estimated annual income of fast food industries after 2005 (any year, the user wants), i have all that done. however the program...
  14. Replies
    1
    Views
    1,263

    how to get largest number from the set

    I got the smallest number from the set the user inputs (i did this a couple days ago and basically im lost) however i cannot figure out how to obtain the largest integer in the set any help would be...
  15. Replies
    7
    Views
    42,830

    ok so i finished the program, The example said to...

    ok so i finished the program, The example said to have the digits displayed in reverse order and display to the user whether or not their number was divisble by 9, let me know if I did this correctly...
  16. Replies
    7
    Views
    42,830

    Ok so heres what I have so far, the example gives...

    Ok so heres what I have so far, the example gives a number thats 6 digits long so i just assume the user puts in 6 ( after i get this perfected i would like to know how to have it adjust to the...
  17. Replies
    7
    Views
    42,830

    Thanks for the help, i get how to "peel off...

    Thanks for the help, i get how to "peel off numbers" but what if my number doesnt have a set amount of digits and the user enters a random number like from 0 - 999999 (just for argument sake)
  18. Replies
    7
    Views
    42,830

    Extracting digits from an integer

    I have to create a program that asks the user for an integer, my program must determine whether or not that integer is divisible by 9, also it must display every digit within the integer starting...
  19. Replies
    4
    Views
    3,061

    well i was hoping someone would work one or a...

    well i was hoping someone would work one or a couple out so i can see how it is done, im basically trying to self teach myself because my teacher is horrible.
  20. Replies
    4
    Views
    3,061

    computer arc and assembly language help

    example problems out of the book i am having problems with:
    16bit operations -> hex
    FEDC logical-and 6789
    arithmetic_right_shift(AA48)
    FEDC xor 6789
    logical_left_shift(080F)
  21. Replies
    10
    Views
    2,066

    I appreciate the heads up, would x be 3 for...

    I appreciate the heads up, would x be 3 for question 1 and x be 4 for question 2? If you cant answer i understand, i do understand hat the else if does but what if it is both if statements are...
  22. Replies
    10
    Views
    2,066

    If statement hw help

    Explain the difference between 1 and 2 and give the value for x in both when x is 1.

    1)
    if ( x >= 0)
    x = x + 1;
    else if ( x >= 1)
    x = x + 2;
    2)
    if ( x >= 0)
    x = x + 1;
  23. Convert Machine code instruction (hex) into op code (binary)

    Hi all sorry my first post was not about an problems in C, question will come relatively soon. I understand the mis categorized post and i apologize however i am stuck on this concept and thought i...
Results 1 to 23 of 23