CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: AwArEnEsS

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    9,507

    Re: Posix functions and Windows

    Thanks for your answer.
  2. Replies
    2
    Views
    9,507

    Posix functions and Windows

    I've read that POSIX is deprecated in Windows 8 and will be completely removed from the next release.Are all C functions Posix functions so none of C functions will work,or will only the Posix...
  3. Can I develop a website using Wt and then publish it on Windows Azure?

    Can I develop a website using Wt(webtoolkit for C++) and then publish it on Windows Azure Platform?I heard that it possible but I am not sure.
  4. Replies
    7
    Views
    1,644

    Re: Question about unions,bitfields

    Thanks for your answers.
  5. Replies
    7
    Views
    1,644

    Re: Question about unions,bitfields

    Thanks for your answers.Yes you are right,I tested and those int bitfield variables take "-1".

    But I have problems understanding why they are "-1" and not "1"?Yes int is a signed type but signed...
  6. Replies
    7
    Views
    1,644

    [RESOLVED] Question about unions,bitfields

    #include <iostream>

    using namespace std;

    struct dore
    {


    unsigned b1:1;
    unsigned b2:1;
  7. Re: Problem with reading bmp files' headers

    Thank you for your help :)
  8. [RESOLVED] Problem with reading bmp files' headers

    "
    struct magic{
    char windowsheader[2];
    }magicnumbers;

    struct bmp {


    unsigned int sizeofthefile;
  9. Replies
    3
    Views
    1,421

    Re: Questions about memory usage of programs

    Thanks for your answer.

    What does "process" exactly mean?
    When a dll is loaded into memory ,does it's memory usage appear in processes section, inside application's memory usage digits on the...
  10. Replies
    3
    Views
    1,421

    Questions about memory usage of programs

    Let's say the .exe file of a program is 480 kb.When you run the program,does it use about 480kb of memory?
    Functions use memory,variables use memory,objects use memory...

    For example,I wrote two...
  11. Replies
    30
    Views
    19,166

    Re: Generating big random numbers in C

    I was a bit busy and didn't work on programming in last days.

    Thank you all for your help,I will try them.
  12. Replies
    30
    Views
    19,166

    Generating big random numbers in C

    I want to generate big random numbers in C(not C++ please).By "big" I mean integers much bigger than srand(time(NULL)) and rand() functions' limit(32767).

    I tried writing: (note:I am not able to...
  13. Re: If we don't know how many for we should use,should we use recursive function?

    Thanks for your answer.I have looked at both the links you gave.Seems like it's a bit more complex than I thought.
  14. Re: If we don't know how many for we should use,should we use recursive function?

    Thanks for your answers.

    I couldn't solve the problem,so I want to give the code:



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

    #define QUEENS 8
  15. If we don't know how many for we should use,should we use recursive function?

    Let's say that we don't know how many "for loops" we need before the program starts and user inputs a number,should we use recursive function instead of "for loops"?Or is there a way to do it using...
  16. Re: What is meant by "Compiler allocates memory for an array"

    Thanks for your answers
  17. [RESOLVED] What is meant by "Compiler allocates memory for an array"

    I have read that compiler allocates memory for an array.What does it exactly mean?For example,if compiler allocates memory at compilation-time,let's say it allocates memory address 189 for an array...
  18. Re: Accessing inside structure via a struct pointer to a struct pointer

    Thank you very much,really I was working on it for hours to make it work!
  19. Accessing inside structure via a struct pointer to a struct pointer

    "
    #include <stdio.h>

    struct datastructure
    {
    char character;
    };


    void function(struct datastructure** ptr);
  20. Replies
    3
    Views
    2,249

    Re: Problem with enum

    Thanks for your answers.
  21. Replies
    3
    Views
    2,249

    Problem with enum

    I am trying to run an example from a book I read.

    "
    #include <stdio.h>

    enum months { Jan,Feb,Mar,Apr,Jun,Jul,Aug,Sep,Oct,Nov,Dec};

    int main()

    {
  22. Re: fgets don't work as I expected with this code,need help

    Thanks for your answers.

    I used pointers instead of arrays,because using arrays is easier but I have not yet understood the pointers topic exactly,so I use them to get more familiar with them and...
  23. [RESOLVED] fgets don't work as I expected with this code,need help

    I have a problem with the codes below.I am trying to do an exercise from a C book.My code first asks for user input,then it seperates the given input into it's "atoms".Then it changes the words like...
  24. Replies
    0
    Views
    1,690

    How to program a "soccer league fixture"?

    Hello,

    I want to create a program which creates a soccer league match fixture.There are 18 teams in the league.But I couldn't find a way about how I can do it,especially without indefinite...
  25. Replies
    6
    Views
    852

    Re: Question about char pointer arrays

    Thanks for your answers.
Results 1 to 25 of 40
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured