Search:

Type: Posts; User: 98dodgeneondohc

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    2,133

    I meant I know how to read inputs from users such...

    I meant I know how to read inputs from users such as using scanf(), fgets() etc... then assigning those values to variables. I am not really familiar with assigning integer values into int arrays by...
  2. Replies
    17
    Views
    2,133

    mark[] = {7,6,9,4,7,7,5,10,8,6,5}; How would I...

    mark[] = {7,6,9,4,7,7,5,10,8,6,5};

    How would I modify this array so that it instead takes the values from the user input?
  3. Replies
    17
    Views
    2,133

    How would I modify this array so that it instead...

    How would I modify this array so that it instead takes the values from the user input?
  4. srand(time()); number=rand()%

    srand(time());
    number=rand()%<enter the number u want it to go up to here>;

    make sure to #include<time.h>
  5. Replies
    17
    Views
    2,133

    Guys, what I need to know is how I will take the...

    Guys, what I need to know is how I will take the marks (entered by the user), and enter it in the chart.

    I know how to read inputs from the user. I just don't know how to output them on the...
  6. Replies
    17
    Views
    2,133

    I don't understand what u mean. Please give me...

    I don't understand what u mean. Please give me an example.
  7. Replies
    17
    Views
    2,133

    Help With Pointers

    I'm making a program that would do something like this:


    Enter the mark out of 10 for a set of 20 students:

    7 6 9 4 7 7 5 10 8 6 5

    Below is the chart of number of students vs mark out of 10
  8. Replies
    8
    Views
    28,181

    uhhhhh ok. woke up on the wrong side of the bed?...

    uhhhhh ok. woke up on the wrong side of the bed? if u don't feel like helping, then just simply stop posting in this thread.
  9. Replies
    8
    Views
    28,181

    why?

    why?
  10. Replies
    8
    Views
    28,181

    #include #include...

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

    int main()
    {
    int number;
    char question[200];
    char answer[50];
    char correct[50];
  11. Replies
    8
    Views
    28,181

    Assign string to variable?

    How do u assign a string to a character variable?

    For example:

    char question[200];

    question=<this is the string>;
  12. Replies
    5
    Views
    2,762

    Another thing I don't understand well is the int...

    Another thing I don't understand well is the int main() & int main(void)... What is the purpose of (void)???
  13. Replies
    5
    Views
    2,762

    Can someone then explain why scanf() cannot be...

    Can someone then explain why scanf() cannot be used to take an input that has a "space" while fgets() can?
  14. Replies
    5
    Views
    2,762

    Input & Output Explain?

    Can someone give me an explanation on Input & Output functions? So far I only know how to use scanf() & printf(), but I don't know how they work exactly.. I just know the syntax :( .

    The book I...
  15. Replies
    2
    Views
    883

    thanks brotha!!!! :D

    thanks brotha!!!! :D
  16. Replies
    2
    Views
    883

    I made a mistake!!!!

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    char get_first(void);
    int main(void)
    {

    char line1[40];
    char line2[40];
    char line3[40];
  17. Thread: Chart!

    by 98dodgeneondohc
    Replies
    13
    Views
    2,910

    how will it know where to put the *'s based on...

    how will it know where to put the *'s based on what the user enters??? .... X is number of students and Y is marks by the way
  18. Thread: Chart!

    by 98dodgeneondohc
    Replies
    13
    Views
    2,910

    lol! sorry man.. I accidentally pressed enter...

    lol! sorry man.. I accidentally pressed enter half way through the post before posting the question. :p
  19. Thread: Chart!

    by 98dodgeneondohc
    Replies
    13
    Views
    2,910

    Chart!

    I'm making a program that lets the user enter a bunch of info, like student grades for example... then the program will produce a chart using the entered data.


    Chart should look like this:
    ...
  20. Replies
    15
    Views
    8,954

    what does the "i" stand for??

    what does the "i" stand for??
  21. Replies
    15
    Views
    8,954

    this is the loop that I want to use. How would I...

    this is the loop that I want to use. How would I make it so that instead of each character being printed out in the screen, the computer stores it in an array?
  22. Replies
    15
    Views
    8,954

    I don't quite understand the codes you guys gave....

    I don't quite understand the codes you guys gave.

    This is the program that I am working on:



    #include<stdio.h>
    #include<string.h>

    int main()
  23. Replies
    16
    Views
    8,188

    Sorry about that. I was very frustrated and...

    Sorry about that. I was very frustrated and tired yesterday. I'm actually teaching myself c programming. I don't quite undestand the scanf() function throughly. I just know how to use it, but...
  24. Replies
    16
    Views
    8,188

    [QUOTE=98dodgeneondohc] #include ...

    [QUOTE=98dodgeneondohc]
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    int main()
    {

    char answer;
    int guess;
    int tries;
  25. Replies
    16
    Views
    8,188

    so I can't use scanf, then what am I suppose to...

    so I can't use scanf, then what am I suppose to use?
Results 1 to 25 of 38
Page 1 of 2 1 2