Search:

Type: Posts; User: scorp08

Search: Search took 0.01 seconds.

  1. Change struct members inside a function and pass to another functions

    Hello All


    Could not understand usage of pointers to pointers as a function input. Basically I want to fill struct members inside a function and pass to another functions as filled with pointers....
  2. Replies
    7
    Views
    136

    I put random but big enough buffers. It would be...

    I put random but big enough buffers. It would be great if someone write logic of stdin and fgets using together ...
  3. Replies
    7
    Views
    136

    I already said removed newline and got same error...

    I already said removed newline and got same error again, not understand why fail? Is ıt because sizeof(c) ? I only want top open a file from user input and readlines. So please write more ...
  4. Replies
    7
    Views
    136

    Tried with replace '\n' with '\0' , same error. ...

    Tried with replace '\n' with '\0' , same error. Could not understand your point ?
  5. Replies
    7
    Views
    136

    Stdin & fgets problem

    Hello
    I could not solve why it exit with error :



    using namespace std;
    int main(){
  6. Replies
    3
    Views
    201

    Thanks but did not worked. I tried other stuff...

    Thanks but did not worked. I tried other stuff but none worked like :


    cmake_minimum_required(VERSION 3.1)
    project(my_project)
    set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
    add_library(calclib STATIC...
  7. Replies
    3
    Views
    201

    CMake Help (losing my mind :(()

    Hello AllVery basic question that I spent many hours. I am using codeblock IDE and cmake. I have a file layout as "documents/exp/asrc.cpp" and "documents/exp/aheader.h". Source and header files in...
  8. Replies
    7
    Views
    264

    Is below can be written without paranthesis ? Why...

    Is below can be written without paranthesis ? Why do we need ()

    const uintptr_t _ptrval = (constuintptr_t) (_ptr);
  9. Replies
    7
    Views
    264

    Could you explain syntax as It will be a good...

    Could you explain syntax as It will be a good practice for me
  10. Replies
    7
    Views
    264

    Yes thats it

    Yes thats it
  11. Replies
    7
    Views
    264

    Help for understanding of a C code

    Hello All
    I am kind of beginner in C/C++ and I need to convert following code to python. Could you explain to me what this macro does :confused:

    Thnks




    /**
Results 1 to 11 of 11