• Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 10: how use it?

    "I hope in the future you can make your discussion title match the post content." ok.. isn't the best title.. but i'm learning more and what i can about windows …
  • Member Avatar for cambalinho
    cambalinho

    Created Windows 10: how use it?

    why, on windows 10, some touchpad drivers(even updated by windows) don't activate the vertical\horizontal scrool move.... i have them activated, but don't work.... when i use the finger, instead scrool, …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching Windows 10: how use it?

    why, on windows 10, some touchpad drivers(even updated by windows) don't activate the vertical\horizontal scrool move.... i have them activated, but don't work.... when i use the finger, instead scrool, …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create nested loops?

    i did more 1 or 1 updates for avoid some errors on code line.. that's why i'm sharing it: void FunctionRules(int &FunctionListIndex, unsigned int &TokensIndex, vector<TokensSimplification> &tokens) { for(unsigned int …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create nested loops?

    thank you so much for all to all
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create nested loops?

    finally i fixed the error: before i call the 'FunctionRules' i must add these line: TokensIndex++; or that 'if's' can call the function again(on a infinite loop)... and i must …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create nested loops?

    finally i did the function: void FunctionRules(int &FunctionListIndex, unsigned int &TokensIndex, vector<TokensSimplification> &tokens) { for(unsigned int parameters=0;parameters<FuncList[FunctionListIndex].ParametersType.size()-1; TokensIndex++) { if(parameters>=FuncList[FunctionListIndex].ParametersType.size()-1 || TokensIndex>=tokens.size()-1) break; else if(FunctionListIndex>FuncList.size()-1 || parameters>FuncList[FunctionListIndex].ParametersType.size()-1) break; else if(IsNumber(tokens[TokensIndex].Description) …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create nested loops?

    when i create a function, and test if theres any error, the function name is added on vector of a structor. if the function have parameters i add them on …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create nested loops?

    i'm sorry. my loops must: 1 - test if that functions\variables was created; 2 - if that parameters types are combined with variable\functions types. but i need create a loop …
  • Member Avatar for cambalinho
    cambalinho

    Created C++: how can i create nested loops?

    the question seems simple, but isn't. think that i have the functions list and it's parameters and the variables on vectors(inclued it's types.. it's a structure). now see these string(yes …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching C++: how can i create nested loops?

    the question seems simple, but isn't. think that i have the functions list and it's parameters and the variables on vectors(inclued it's types.. it's a structure). now see these string(yes …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    the last function, i belive, have a memory leak... so heres the new one void read() { //wait if the eneter key is pressed: cin.get(); } template<typename first_t, typename... rest_t> …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    1st now the mail notification was fastter(maybe something was fixed or something) ;) happy christmas and happy a new year and thank you so much for all
  • Member Avatar for cambalinho
    cambalinho

    Marked Solved Status for C++: how create the read function?

    i create the read(...) function for read to variables. but i need too the read()(without arguments) for press enter before continue\exit. void read() { //wait if the enter key is …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    finally i found my real problem. after create the cpp file, the compiler call the header close to the cpp file because of: #include "Untitled1.h" i was changing the header …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    maybe it's possible fix in a different way: can i get the template count parameters? maybe the read(...) can be called instead the read()
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    so why, on Code Blocks, exe(after compile), i press just once the return key... but the exe created with Command Line, must use twices? i can share the 2 exe(if …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    i even tried these: void read() { cin.get(); } template<typename first_t> void read(first_t arg) { cin>>arg; } template <typename first_t, typename... T > void read(first_t starg, T... args ) { …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how create the read function?

    but that read() don't use arguments... i don't know control that. i'm using C++14.. (for use C++17, i must change several code) what you can advice me more about variadic …
  • Member Avatar for cambalinho
    cambalinho

    Created C++: how create the read function?

    i create the read(...) function for read to variables. but i need too the read()(without arguments) for press enter before continue\exit. void read() { //wait if the enter key is …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching C++: how create the read function?

    i create the read(...) function for read to variables. but i need too the read()(without arguments) for press enter before continue\exit. void read() { //wait if the enter key is …
  • Member Avatar for cambalinho
    cambalinho

    Marked Solved Status for GNU compiler: how can i compiler using command lines?

    i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GNU compiler: how can i compiler using command lines?

    i never thot that.. on Command Prompt(CMD.exe) the errors was showed... i nevert thot that i was doing 1 error between uppercases :( "C:\Users\Cambalinho\Documents\CB\testfolder\bin\Debug\test2.o: In function `main': C:/Users/Cambalinho/Documents/CB/testfolder/bin/Debug/Untitled1.h:335: undefined reference …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GNU compiler: how can i compiler using command lines?

    hey i know the command line. i can create the exe with standard code: #include <iostream> int main() { std::cout << "hello world\n"; std::cin.get(); return 0; } yes.. i have …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GNU compiler: how can i compiler using command lines?

    and now the cpp file: #include "Untitled1.h" void Main (vector < string > argumentlist , boolean IsOpened ) { integer a = 20; a = a + 30 ; write …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GNU compiler: how can i compiler using command lines?

    now i'm testing these code on Untitled1.h: #include <iostream> #include <fstream> #include <windows.h> #include <string.h> #include <string> #include <stdlib.h> #include <stdio.h> #include <vector> #include <tchar.h> #include <algorithm> #include <ctype.h> #include …
  • Member Avatar for cambalinho
    cambalinho

    Revoked Solved Status for GNU compiler: how can i compiler using command lines?

    i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Not getting e-mail notification

    i need speak ;) everytime that i create a topic, i recive an email... jonh_165 you can test that... now the notifications can have a delay, but they will be …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching Not getting e-mail notification

    Recently I realized that I not receive any email notification from DaniWeb. When I check on the User Settings, I saw this alert message > We have been having problems …
  • Member Avatar for cambalinho
    cambalinho

    Marked Solved Status for GNU compiler: how can i compiler using command lines?

    i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GNU compiler: how can i compiler using command lines?

    after several tries i found the problem: when we use some API functions, we must add the libraries too, or we have errors without notice. string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-Wall -g …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in GNU compiler: how can i compiler using command lines?

    void run(string FileName, string Parameters="") { SHELLEXECUTEINFO ShExecInfo; ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; ShExecInfo.hwnd = NULL; ShExecInfo.lpVerb = "open"; ShExecInfo.lpFile = FileName.c_str(); ShExecInfo.lpParameters = Parameters.c_str(); ShExecInfo.lpDirectory = NULL; ShExecInfo.nShow …
  • Member Avatar for cambalinho
    cambalinho

    Created GNU compiler: how can i compiler using command lines?

    i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching GNU compiler: how can i compiler using command lines?

    i'm trying using the GNU compiler with command lines( using the ShellExecuteEx()). when i do: string FileName1="C:\\Program Files\\mingw-w64\\x86_64-7.2.0-win32-seh-rt_v5-rev1\\mingw64\\bin\\x86_64-w64-mingw32-g++.exe"; run(FileName1,"-c \"C:\\Users\\Cambalinho\\Documents\\CB\\testfolder\\bin\\Debug\\test2.cpp\""); the object file is created. these line creates the exe: …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 7: why the battery time remain isn't showed?

    yes changes, we can change the theme and much more and change when the notification messages are showed
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 7: why the battery time remain isn't showed?

    yes it's free. i just actiaved the 30 days for test it cool: i came here because i recive the mail notification thanks for all
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in Windows 7: why the battery time remain isn't showed?

    yes i'm using that program with 30 free days, maybe after that reinstall it, i can cover the 30 days ;) please tell me 1 thing: after i answer you, …
  • Member Avatar for cambalinho
    cambalinho

    Created Windows 7: why the battery time remain isn't showed?

    i'm using Windows 7. the battery icon is showed on toolbar. when i move the mouse the percent is showed, but no the time remain... why?
  • Member Avatar for cambalinho
    cambalinho

    Began Watching Windows 7: why the battery time remain isn't showed?

    i'm using Windows 7. the battery icon is showed on toolbar. when i move the mouse the percent is showed, but no the time remain... why?
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: How search\find a folder name?

    i'm using Windows 7. that program can be installed every, depends on user. that's why i need search it's folder but the time, too, depends if the CPU is busy. …
  • Member Avatar for cambalinho
    cambalinho

    Created C++: How search\find a folder name?

    heres my actual code for find\search a folder: string FindDirectory(std::string FindDirectoryName[2], std::string StartDirectory="C:") { WIN32_FIND_DATA file={0}; string str=StartDirectory+ "\\*"; HANDLE search_handle = FindFirstFile(str.c_str(), &file); static bool blnFindDirectoryName=false; static string strFolderName …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching C++: How search\find a folder name?

    heres my actual code for find\search a folder: string FindDirectory(std::string FindDirectoryName[2], std::string StartDirectory="C:") { WIN32_FIND_DATA file={0}; string str=StartDirectory+ "\\*"; HANDLE search_handle = FindFirstFile(str.c_str(), &file); static bool blnFindDirectoryName=false; static string strFolderName …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in c++: can i convert these macro to Visual studio?

    i'm sorry, but do youy know how works 'weak' for, maybe, i create my own? (the virtual functions from base class, on child\derived class, must have a prototype for i …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in c++: can i convert these macro to Visual studio?

    to be honest i don't get what i need. i have 1 code for detect if the class have a function(even if is a prototype), but no for test if …
  • Member Avatar for cambalinho
    cambalinho

    Created c++: can i convert these macro to Visual studio?

    i have these GNU macro: #if defined __GNUC__ #define EVENT [[gnu::weak]] #elif defined __clang__ #define EVENT [[llvm::weak]] #endif #define IS_EVENT_DEFINED(sym) (static_cast<bool>(sym)) these macro works fine. and help me test if …
  • Member Avatar for cambalinho
    cambalinho

    Began Watching c++: can i convert these macro to Visual studio?

    i have these GNU macro: #if defined __GNUC__ #define EVENT [[gnu::weak]] #elif defined __clang__ #define EVENT [[llvm::weak]] #endif #define IS_EVENT_DEFINED(sym) (static_cast<bool>(sym)) these macro works fine. and help me test if …
  • Member Avatar for cambalinho
    cambalinho

    Edited C++: how can i create events?

    the C++ have virtual functions, but, for me they have 1 problem: on derived class, i must prototype them, for define them on Global Scope. how can i avoid the …
  • Member Avatar for cambalinho
    cambalinho

    Replied To a Post in C++: how can i create events?

    Moderator: i'm sorry, but i can't add the code on same textbox code.. isn't my error :( edit: i fixed, just for delete the '-' after ':', after new line.. …
  • Member Avatar for cambalinho
    cambalinho

    Edited C++: how can i create events?

    the C++ have virtual functions, but, for me they have 1 problem: on derived class, i must prototype them, for define them on Global Scope. how can i avoid the …
  • Member Avatar for cambalinho
    cambalinho

    Edited C++: how can i create events?

    the C++ have virtual functions, but, for me they have 1 problem: on derived class, i must prototype them, for define them on Global Scope. how can i avoid the …

The End.