General C++ Programming (Page 9)

by montra
check status of DisplaySwitch.exe
Hi I want to programming check DisplaySwitch.exe status . you know DispalySwitch have 4 status (in...
[6 replies] Last: Thank you dear Duthomhas thank you : 1. You have solved many of my pr... (by montra)
by elsa
Can't determine if countNodes() function is operable since retrieve() function doesn't seem to work
BST.h #pragma once #include <iostream> #include <fstream> using namespace std; class BST { privat...
[4 replies] Last: Line 150 in countNodes() isn't indented property. It looks like it's w... (by dhayden)
Reading in File and setting variables
I'm trying to write a function read_fish that reads in a file and sets a few private class variables...
[1 reply] : std::string s; input >> s; if (s == "fish"){ //process the fish ... (by ne555)
Help Me! " expected primary expression before public " Cant fix it and need someone to fix it for me.
#include <iostream> using namespace std; class schools { public: void stfatima(){ cout <...
[4 replies] Last: ye and also it worked now. After I did all you described it made the e... (by masternono)
Is this programmer incorrect?
I noticed a programmer give this example const char *activities = { "Diving", "Lapping"...
[13 replies] Last: Good compilers generate a warning. Some compilers will just say UB ... (by Duthomhas)
by Ryan15
Providing error message for Number Guessing project
I'm trying to provide an error message if the user input a character/string, but I'm not sure how to...
[1 reply] : Like so if ( cin >> Input ) { if (Input > Num1) { co... (by salem c)
Access violation
Greetings fellow coders, I'm dabbling in C++ and while trying to solve this SudokuChecker problem (...
[2 replies] Last: Hey dhayden, Nice catch! I changed it here and along with parsing for... (by Hastermain)
C++ data structures
Problem Statement: You have to implement a List Data Structure of student profile information rec...
[3 replies] Last: Start with the data. Write the declarations for struct StudentProfile... (by dhayden)
How do I make GetAsyncKeyState detect if Caps Lock is toggled?
So i am trying to make a program that holds down right-click when Caps Lock is on and doesnt click w...
[1 reply] : Aren't you supposed to test the most significant bit? if (GetAsyncK... (by dutch)
by montra
Count specific process name
Hi I want to count specific title in process . for example when I run twice calc.exe in my system...
[6 replies] Last: While the following link is about enumerating windows , the way to en... (by Duthomhas)
Vector of user-defined types
I'm fairly new to C++ and I'm currently in the process of learning it. I'm writing a text adventure ...
[6 replies] Last: Thank you, everyone, for all your help! (by AgentMichaelScarn)
I need to do a c++ program fo school
It is intended that it builds a program that allows the management of reservations of a show room w...
[3 replies] Last: It looks like this is mostly using C strings. I'll assume that's requ... (by dhayden)
Will the outcomes be corresponding in this random behaviour tree?
Hello, Here are the key parts of two behaviour tree with random outcomes. Not seen in the code i sh...
[3 replies] Last: found a way const char *activities = { "Pencil and paper (by Rascake)
C++ number genarator
Trying to create a simple battle menu game with a random number genarator from 1-10 for the extra hi...
[4 replies] Last: Thank you for the help! (by BattleCrazy99)
by Ryan15
Guessing number project.
The project works fine with small increment but it exits immediately when guessing from 45 to a larg...
[1 reply] : Your code has a logical error in it. If the number input is ever less... (by Repeater)
by montra
many infinit loop
I want to have three infinit loop in my program (c++ lang) . is it possible or impossible ??? I use ...
[11 replies] Last: Solve it . Thank you for all . Have good time (by montra)
Python Exception <class 'ValueError'>
When I run my program, I get a segmentation fault. When I run the gdb debugger, it gives me this err...
[8 replies] Last: Thank you @coder777. One of the errors that drives me the craziest is ... (by vaderboi)
Conversion table with menu and sub menu
I'm having trouble making this work. I'm taking a class and I don't get how to do this. I've done th...
[19 replies] Last: @devinEleven This slight change in mainMenu(), will ask user if they ... (by whitenite1)
by aka13
error C2146: syntax error : missing ';' before identifier 'DesFireCard_Authenticate'
hello , please can you help me to resolve this problem : c:\users\pc\downloads\sdk-k531\grfid\sdk-k...
[4 replies] Last: same errors (by aka13)
by dubsdj
confused why the sqlite step does not execute
Can anyone help, I am trying to execute a statement in the function completeChallenge however for so...
[1 reply] : I figured it out. I hadn't closed the existing connection before tryin... (by dubsdj)
Pages: 1... 789101112
  Archived months: [apr2019]

Cannot post in this page. To post a new message, go to the first page.