Search:

Type: Posts; User: ddimit02

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: about new

    by ddimit02
    Replies
    1
    Views
    706

    about new

    hello i cannot understand whats the benefit of saying that

    int x=new int rather saying
    int x;
    i know that new allocates memmory but please tell me the different of the above codes
  2. Replies
    2
    Views
    1,044

    realloc alphabet

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


    int _tmain(int argc, _TCHAR* argv[])
    { int i; char *pa;

    pa[0]='a';
    for(i=1;i<26;i++){
  3. Replies
    2
    Views
    1,645

    compile a program from linux to mac

    im speaking from linux system
    i have made a c program and i wondering how can i compile it for being able to run on mac
    sorry for double posting in 2 sections but i think here is the right section...
  4. Replies
    6
    Views
    1,469

    ok thank you anyway anyone other here can help...

    ok thank you
    anyway
    anyone other here can help me ?
  5. Replies
    6
    Views
    1,469

    i think im asking something normal just a half...

    i think im asking something normal
    just a half of sentence with one simple thing
    what should i send you?
    the whole program?
    anyway any other can help me please?
  6. Replies
    6
    Views
    1,469

    how to do it type an example please

    how to do it
    type an example please
  7. Replies
    6
    Views
    1,469

    define char table

    i have wrote a code and im wondering if its possible to define table in c
    because i have made a lot of functions and its very diffucult to transfer in every function the table
    i want to define it...
  8. Thread: x=rand();

    by ddimit02
    Replies
    5
    Views
    4,950

    is any other combination for this? x = (rand() %...

    is any other combination for this? x = (rand() % 9000) + 1000;
    or is the only way i can do it
  9. Thread: x=rand();

    by ddimit02
    Replies
    5
    Views
    4,950

    x=rand();

    i want to use rand function for finding random number with 4 digits how can i do that
    im only knowing how to find the maximum number which is x=rand()%10000 but how can i tell it for finding minimum...
  10. Thread: sscanf scanf

    by ddimit02
    Replies
    2
    Views
    12,285

    sscanf scanf

    what is the different between scanf and sscanf
    one different that im not sure if im correct is that with sscanf you can you "\0" to find if the string has ended?
  11. Replies
    8
    Views
    5,239

    no.. i dont know how 10110101 works

    no.. i dont know how 10110101 works
  12. Replies
    8
    Views
    5,239

    any easiest way?

    any easiest way?
  13. Replies
    8
    Views
    5,239

    check if num is power of 2

    im reading 2 numbers and i want to check if both numbers are powers of 2
    for example 2^0=1 2^1=2 2^2=4 2^3=8 2^4 16 2^5 32 .......64 128 256....

    how can i check that? in c?

    if im not...
  14. Replies
    2
    Views
    898

    im getting this error

    << snipped untagged code >>
  15. Replies
    4
    Views
    1,225

    is there any good tutorial here to explain all...

    is there any good tutorial here to explain all about pointers?
  16. Replies
    4
    Views
    1,225

    wow dude it worked thanks!!

    wow dude it worked
    thanks!!
  17. Replies
    4
    Views
    1,225

    return float by devide int

    #include <stdio.h>
    float test(int a,int b)
    { return a/b;
    }

    int main()
    { int k,l;
    k=5;
    l=2;
    printf("%3.2f",test(k,l));
  18. Replies
    14
    Views
    1,385

    btw my circle is smaller than the photo how can i...

    btw my circle is smaller than the photo how can i make it the same size (same rows number)
  19. Replies
    14
    Views
    1,385

    oh god i tried the code i typed here and is...

    oh god
    i tried the code i typed here and is correct ..lol
    anw thanks for your help dude
  20. Replies
    14
    Views
    1,385

    believe me i had 4 similar problems to solve and...

    believe me i had 4 similar problems to solve and solve them all
    but that one i cant do anything because i dont undestand anything
    at least write me the half code and let me continue
    i dont...
  21. Replies
    14
    Views
    1,385

    you cant give me the two for loops? if i see the...

    you cant give me the two for loops?
    if i see the solution i think i will understand the exercise
  22. Replies
    14
    Views
    1,385

    im still unable to succeed:(

    im still unable to succeed:(
  23. Replies
    14
    Views
    1,385

    i did nothing i just need the two for loops

    i did nothing
    i just need the two for loops
  24. Replies
    14
    Views
    1,385

    how can i find the other posts because there are...

    how can i find the other posts because there are many threads here
    can you link me to them?
  25. Replies
    14
    Views
    1,385

    need help for prinding that curcle

    hello in the univercity we have an exercise for how to print that

    http://i55.tinypic.com/2dipvlk.png

    the exercise says im only allowed to use two for loops


    Print a 2D draw from -5 up to...
Results 1 to 25 of 26
Page 1 of 2 1 2