Search:

Type: Posts; User: BlackOps

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,206

    Great! :D

    Great! :D
  2. Replies
    7
    Views
    1,206

    gcc -o test.exe -c test.c and then i call my...

    gcc -o test.exe -c test.c

    and then i call my program as: test

    :)
  3. Replies
    7
    Views
    1,206

    no no... it doesnt print this sentence!! ...

    no no... it doesnt print this sentence!!

    cursor begins random blinking in the whole screen!

    i tried to compile it with TinyC compiler! and it compiled very good! and program was running...
  4. Replies
    7
    Views
    1,206

    gcc is annoying and capricious!

    I just discover that this gcc compiler is doing strange things... i did something with enum constructor...and i found that programs begin doing strange things after compiling with gcc, i thought i...
  5. Replies
    14
    Views
    2,799

    Cooloorful, i appreciate ur attempts to help but...

    Cooloorful, i appreciate ur attempts to help but i feel that u are in wrong direction.. LoadBmp and SaveText functions work good... problem is in something else...
  6. Replies
    14
    Views
    2,799

    i was just using stdio and stdlib. :)

    i was just using stdio and stdlib. :)
  7. Replies
    14
    Views
    2,799

    i was aay few days... well... that kind of thing...

    i was aay few days... well... that kind of thing doesnt happen when i compile with tcc (Tiny C compiler)... so... any ideas (not please about the other code...it works fine)?
  8. Replies
    14
    Views
    2,799

    oh one more thing i discovered... when i removed...

    oh one more thing i discovered... when i removed fprinf statements from my code, the other printf statements worked ok...strange. Cooloorful i think i should also post a code of standard C library...
  9. Replies
    14
    Views
    2,799

    Strange behaviour of GCC

    well...i was using Tiny C compiler, now i have installed Mingw with gcc 3.4.5

    i have some program where i process images...and print some info.. program compiled fine...but it did not print...
  10. Replies
    20
    Views
    1,931

    Cooloorful, cuz its not what i need :)

    Cooloorful, cuz its not what i need :)
  11. Replies
    20
    Views
    1,931

    i know about accessing the elements... i was just...

    i know about accessing the elements... i was just talking about a case where...for example:

    char letter[14][12];

    #define LT "Some constant which is has 14*12 elements"

    now i have to fill...
  12. Replies
    20
    Views
    1,931

    hmm...by the way, i am working now on some image...

    hmm...by the way, i am working now on some image processing system..and there i am going to output strings in the image memory... well in other words before i tried to make things work like that:
    ...
  13. Replies
    20
    Views
    1,931

    i got the point.. so this is the safest...

    i got the point..

    so this is the safest method.. this way i just add two elements to the char array..which already contains 6 elements... So, the point is... its better to know how many elements...
  14. Replies
    20
    Views
    1,931

    Ok, could this be a solution to the problem? ...

    Ok, could this be a solution to the problem?



    char *str1 = "Foxbat";
    char *str2;

    strcpy(str2, "Fulcrum");

    printf("str1 = %s\tstr2 = %s\n", str1, str2);
  15. Replies
    20
    Views
    1,931

    strncat..strange behaviour

    Take a look at this piece of code:



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

    char *str1 = "Foxbat";
    char *str2 = "Fulcrum";
  16. Replies
    2
    Views
    4,961

    i did it i know.. but it doesnt help

    i did it i know.. but it doesnt help
  17. Replies
    2
    Views
    4,961

    Problems installing Mingw5.1.4

    I decided to install this stuff, and i opened their page where they said how to do that, i downloaded the automated installer... it was fine... then during install it gave me this error:



    File...
  18. or maybe u could do something like this: ...

    or maybe u could do something like this:



    #define MACRO_SUCCESS 1
    #define MACRO_FAILURE 0

    #define check_error2(error) int flag; \
    switch (error) \
    { \
  19. Replies
    8
    Views
    3,613

    Oh and here is the other one: register int...

    Oh and here is the other one:



    register int i,x;

    scanf("%d",&i);

    x=++i + ++i + ++i;
  20. Replies
    8
    Views
    3,613

    or for example this one: int a=5...

    or for example this one:


    int a=5 ,b,c=7;
    printf("%d %d %d");


    i thought output will be 7 garbage 5, and that is what my Tiny C compiler gave.

    But the answer of question...
  21. Replies
    8
    Views
    3,613

    Strange C programming questions

    consider the following question on C programming:



    void call(int,int,int);

    void main(){

    int a=10;
  22. Replies
    2
    Views
    10,705

    ah..yeah i know its wrong... i mean Stack/LIFO......

    ah..yeah i know its wrong... i mean Stack/LIFO... true...queues are FIFO yeah! ;)
  23. Replies
    2
    Views
    10,705

    STACK/FIFO as a linked list

    just was experimenting.. here is the code:




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

    #define snapd(arg) printf(#arg " = %d\n", arg);
    #define snapf(arg) printf(#arg " = %f\n", arg);
  24. Replies
    17
    Views
    3,300

    well thank you everyone for good discussion, so...

    well thank you everyone for good discussion, so it looks to me that for a lot of experimenting and development tcc would be ok... but when i have to create final version of a program which will be...
  25. Replies
    17
    Views
    3,300

    What do you think about tcc compiler?

    Have anyone worked with it and felt that it is really much faster than gcc?
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4