Search:

Type: Posts; User: UncleBazerko

Search: Search took 0.01 seconds.

  1. I'm trying to get more than one getchar() function to work, but it's skipped over.

    My code won't let me use more than one getchar() function:



    #include<stdio.h>
    #include<stdlib.h>
    //SamsFirst_IO.c


    int main(){
  2. My program is skipping my second getchar() input statement.

    Hi, I'm new to input and output in C. The following code has two input statements:


    #include<stdio.h>
    #include<stdlib.h>
    //SamsFirst_IO.c

    int main(){
    int x,y;
    printf("Type a...
  3. How to declare and initialize string variables in C?

    I remember briefly touching C in school about 4 years ago, and hearing that C cannot print strings directly, but rather only as an array of characters. Is that true? How do I get the following code...
  4. I'm trying to master printf, but I'm having trouble concatenating values.

    Hi. I'm trying to concatenate 3 intergers, but I'm getting an error that says I'm missing a closing parentheses before a numeric constant. Here's the code:


    #include<stdio.h>
    #include<stdlib.h>...
Results 1 to 4 of 4