Search:

Type: Posts; User: setevoy

Search: Search took 0.01 seconds.

  1. variable memory location with ampersand vs pmap

    I just started deal with pointers in C, and one stuff confusing me...
    Here is simple code:

    int main ()
    {

    int var1 = 10;
    int var2 = 20;

    long ms = 10000000;
  2. Thread: bash to cpp

    by setevoy
    Replies
    4
    Views
    1,482

    Usually - `cppman` can recognize `std` namespace:...

    Usually - `cppman` can recognize `std` namespace:


    $ cppman -f std::cin
    std::cin

    It takes data from cplusplus.com - The C++ Resources Network.

    Anyway - thanks, now I have one way for...
  3. Thread: bash to cpp

    by setevoy
    Replies
    4
    Views
    1,482

    Thanks for tip, @laserlight...

    Thanks for tip, @laserlight .

    Yes, I'm using Linux.

    About: and use std::getenv rather than just getenv


    $ cppman -f std::getenv
    error: std::getenv: nothing appropriate.
    $ cppman -f getenv
  4. Thread: bash to cpp

    by setevoy
    Replies
    4
    Views
    1,482

    bash to cpp

    Hi.

    I'm new in C++ and sure - I'm learning it.

    But - just interesting - how next bash function can't looks like in C++?

    This code used to check array of system global variables:

    ...
Results 1 to 4 of 4