Search:

Type: Posts; User: Structure

Page 1 of 15 1 2 3 4

Search: Search took 0.01 seconds.

  1. #include #define ARRAY_ROW 3 #define...

    #include <stdio.h>
    #define ARRAY_ROW 3
    #define ARRAY_COL 3

    void WriteArray(int piData[ARRAY_ROW][ARRAY_COL]) {
    for(int iRow = 0; iRow<ARRAY_ROW; iRow++) {
    for(int iCol = 0;...
  2. Replies
    0
    Views
    59

    dragon compiler

    Dragon Compiler to .c for linux



    <stdio.h>

    @{
    char *world = "World"
    ink "Hello " [s]world
    }
  3. #include "stdio.h" int main (int argc, char...

    #include "stdio.h"

    int main (int argc, char *argv[]) {

    char *webTitle = "Web Site";

    printf( "<!DOCTYPE html> \n" );
    printf( "<html lang='en-us'> \n" );
    printf(...
  4. Replies
    2
    Views
    134

    #include int i, p; char letter_a...

    #include <stdio.h>

    int i, p;
    char letter_a = 'X';

    int main (void) {

    int start = 5, finish = 15;

    for (i = start; i <= finish; ++i) {
  5. Replies
    5
    Views
    235

    fp2 = fopen( "con2.txt", "a" );

    fp2 = fopen( "con2.txt", "a" );
  6. Replies
    4
    Views
    250

    #include #define maxSize 64 int...

    #include <stdio.h>

    #define maxSize 64

    int number[maxSize];

    void display() {
    for (int i=0; i<maxSize; i++) {
    if (number[i] != 0) {
    printf( "%i, ", number[i] );
  7. Replies
    7
    Views
    511

    #include int main() { int...

    #include <stdio.h>

    int main() {

    int cansRequired = 0;
    float height = 0, area = 0;
    float length = 0, width = 0;
    float litersNeeded = 0.0;

    float literCovers = 150;
  8. Replies
    5
    Views
    434

    #include #include int...

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

    int revstrcmp(char *string1, char *string2 ) {
    if (strlen(string1) != strlen(string2)) return 0;
    for (int i=strlen(string1); i>0; i--) {
    ...
  9. Replies
    2
    Views
    480

    #include #include void...

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

    void write_report(int *num_set);

    int main() {
    int num_set[101] = {0};

    for (int i = 0; i < 101; i++) {
    num_set[i] = i;
  10. Thread: DD to DMS

    by Structure
    Replies
    5
    Views
    450

    #include double DD = 0.0, seconds,...

    #include <stdio.h>


    double DD = 0.0, seconds, remain ;
    int degrees = 0, minutes = 0;


    int main() {

    DD = 13.5423;
  11. #include #include char...

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

    char gene[128][256], genecount = 0;

    void splitgenes( char *string ) {
    int which = 0, count = 0;
    for (int i=0; i<strlen(string);i++) {
    if (...
  12. Replies
    2
    Views
    372

    #include #include ...

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

    struct record
    {
    char name[30], lat_dir[30], lon_dir[30];//declare city name as name
    int pop; //declare...
  13. Replies
    4
    Views
    835

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

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

    int stringLength(char *string) {
    int i = 0;
    while (string[i] != '\0') i++;
    return i;
    };
  15. 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",
    ...
  16. #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",
    ...
  17. Replies
    4
    Views
    747

    Debug

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




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

    #include int value = 0 ; void...

    #include <stdio.h>

    int value = 0 ;

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

    16304

    16304
  20. Replies
    17
    Views
    1,590

    "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...
  21. Replies
    9
    Views
    1,385

    #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[] ) {
  22. C Operator Precedence - cppreference.com...

    C Operator Precedence - cppreference.com
  23. Replies
    2
    Views
    430

    difference = ( open_time - close_time ) ;

    difference = ( open_time - close_time ) ;
  24. Replies
    6
    Views
    1,110

    #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 ;
  25. #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...
Results 1 to 25 of 371
Page 1 of 15 1 2 3 4