Search:

Type: Posts; User: Structure

Page 1 of 15 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    609

    GLEW (http://glew.sourceforge.net/install.html)...

    GLEW && GLFW
  2. int stringLength(char *string) { int i = 0;...

    int stringLength(char *string) {
    int i = 0;
    while (string[i] != '\0') i++;
    return i;
    };
  3. Card Game { War }

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

    char CARD[52][128] = {
    "AH","AC","AS","AD","2H","2C","2S","2D",
    "3H","3C","3S","3D","4H","4C","4S","4D",
    ...
  4. #include #include #include...

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

    char CARD[52][128] = {
    "1H","1C","1S","1D","2H","2C","2S","2D",
    "3H","3C","3S","3D","4H","4C","4S","4D",
    ...
  5. Replies
    4
    Views
    624

    Debug

    line 98||99 else with no open bracket {
    line 99 line not ended with semicolon ;




    }
    else
    printf("PLEASE ENTER A CORRECT PIN NUMBER")
  6. Replies
    4
    Views
    717

    #include int value = 0 ; void...

    #include <stdio.h>

    int value = 0 ;

    void printValue() {
    if (value) printf( "TRUE" );
    if (!value) printf( "FALSE" );
    printf( "\n" );
    }
  7. Replies
    9
    Views
    1,185

    16304

    16304
  8. Replies
    17
    Views
    1,419

    "There are a few indentation habits that you...

    "There are a few indentation habits that you should learn to do right away, and they should be done every time you write code."

    Indenting C Programs


    C Tutorial - Tutorialspoint
    Installing...
  9. Replies
    9
    Views
    1,185

    #include #include #include...

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

    #define stringSize 512

    void loopText( char *inputString );

    int main( int argc, char *argv[] ) {
  10. C Operator Precedence - cppreference.com...

    C Operator Precedence - cppreference.com
  11. Replies
    2
    Views
    374

    difference = ( open_time - close_time ) ;

    difference = ( open_time - close_time ) ;
  12. Replies
    6
    Views
    899

    #include #include ...

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

    #define true 1
    #define false 0

    int i, j, x, y, c, r, isOctal = false ;
    char currentChar, octalDelim[1024] ;
    float totalValue = 0.0 ;
  13. #include #include int...

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

    int uChars( char *string ) {
    int hasChar[256] = { 0 }, totalUC = 1;
    for ( int i=0; i<(strlen(string)-1); i++ )
    hasChar[ string[i] ] = 1 ;
    for...
  14. #include #include #include...

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

    int valid = 1, endGame = 0, currentPlayer = 1 ;

    #define playerTwoIsComputer 1

    #define playerOne 'X'
    #define playerTwo 'O'
  15. celsius = (float)( (fahrenheit - 32) / 1.8 ) ; ...

    celsius = (float)( (fahrenheit - 32) / 1.8 ) ;


    C - Type Casting - Tutorialspoint
  16. Replies
    3
    Views
    621

    #include #include char...

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

    char ItemChosen = 0;
    int Orange = 0, Apple = 0, Pear = 0;
    int Budget = 0, RemainingBudget = 0;

    void checkChoice();
    void mainMenu();
    void setPrices();
  17. Replies
    6
    Views
    806

    int x = 1; printf( "%d %d %d\n", ++x, x, x++...

    int x = 1; printf( "%d %d %d\n", ++x, x, x++ );"there is absolutely no guarantee that this order would be used in any other environment, in the same environment with different options selected, or...
  18. Replies
    8
    Views
    711

    Utah teapot - Wikipedia...

    Utah teapot - Wikipedia
    Graphics pipeline - Wikipedia
    Polygon mesh - Wikipedia
  19. Replies
    16
    Views
    1,562

    This one includes integer fractions ... ...

    This one includes integer fractions ...



    int isNumber( char *string ) {
    int oneDot = 0, stringLength = strlen(string), ii;
    for (int i=0; i<stringLength; i++) {
    ii =...
  20. Replies
    16
    Views
    1,562

    preemptive fix... int isNumber( char...

    preemptive fix...



    int isNumber( char *string ) {
    int oneDot = 0;
    for (int i=0; i<strlen(string); i++) {
    if ( (int)string[i] >= 48 && (int)string[i] <= 57 ) {
    //...
  21. Replies
    16
    Views
    1,562

    int isNumber( char *string ) { int oneDot =...

    int isNumber( char *string ) {
    int oneDot = 0;
    for (int i=0; i<strlen(string); i++) {
    if ( (int)string[i] >= 48 && (int)string[i] <= 57 ) {
    // valid digit ;
    }...
  22. Replies
    16
    Views
    1,562

    int isNumber( char *string ) { int oneDot =...

    int isNumber( char *string ) {
    int oneDot = 0;
    for (int i=0; i<strlen(string); i++) {
    if ( (int)string[i] >= 48 && (int)string[i] <= 57 ) {
    // valid digit ;
    }...
  23. Replies
    16
    Views
    1,562

    #include #include int...

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

    int isNumber( char *string ) {
    for (int i=0; i<strlen(string); i++) {
    if ( (int)string[i] >= 48 && (int)string[i] <= 57 ) {
    //...
  24. Replies
    6
    Views
    905

    multiply the identity matrix by the scalar. ...

    multiply the identity matrix by the scalar.

    "The term scalar multiplication refers to the product of a real number and a matrix. In scalar multiplication, each entry in the matrix is multiplied by...
  25. Replies
    1
    Views
    381

    this might help... #include ...

    this might help...



    #include <stdio.h>

    void primoultimopari(char list[], int dimensione, int *prima, int *ultima) {
    *prima = -1;
    *ultima = -1;
    for (int i=0; i<dimensione;...
Results 1 to 25 of 358
Page 1 of 15 1 2 3 4