Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

c++

  1. maraismarais

    C++ What program could it be that is asked? Qt 5, OOP, periodic calculation and graphic representation of a C++ program.

    "You can start thinking so long how you would handle the periodic calculation and graphic representation of something that you are simulating in real time. It will not be bouncing anythings this time." - We are writing a test on C++ in Qt Creator 5 soon and our lecturer has given us this hint of...
  2. davids4813

    How do i write the code to connect to mySQL on phpmyadmin that is hosted by my university

    i am creating a program that is coded in c++ in visual studio and don't know how to connect to MySQL server that is hosted by the university on myphpadmin will someone be able to show me the code I would use to connect to it?
  3. A

    C++ I need help with solving problems from previous competitions in my country.

    Hello, Currently I am prepering for competition on national level. I have found some tasks from previous years but I dont know how to solve them. It would really help me a lot if somebody could help me out :) By the way I am high school student. Here is a problem on which I am currently woring on:
  4. A

    C++ how to get an Arduino program to identify different letters for If..else statements?

    Hi I am very new to Arduino and I am having trouble with some if statements I made. I keep getting the error "request for member 'read' in 'file', which is of non-class type 'int'", for each of my if statements. The goal was to make the if statements run when a character in the added text file...
  5. A

    C++ my code keeps returning -1073741819 (0xc0000005), what is the problem?

    #include <cmath> #include <stack> #include<queue> #include <iostream> #include <regex> #include <vector> #include <thread> #include <bitset> #include <ctime> #include <string.h> #include <math.h> #include <bits/stdc++.h>...
  6. R

    C++ Strcat Function In C++

    I'm new to C and C++ programming, can anyone give me a hint on what I'm doing wrong here. I'm trying to write to concat function that takes to pointers to chars and concatenates the second to the first. The code does do that, but the problem is that it adds a bunch of junk at the end. For...
  7. Bogdan Floares

    C++ C++ class meaning

    What is a cpp class an how does it work. In java and c# a class(marked as public) is pretty much just a source file, or a public class is associated with a source file, for example: Program.java: public class Program{ } Or Program.cs: public class Program{ } Or I can have some not...
  8. B

    C++ Non tail recursive function help

    if i have a function f(n)=3+8+14+24+⋯+(n2−1) how do i implement this into a function recursively without using tail recursion? it needs a static variable used also thanks!
  9. smackytacky

    C++ ArduinoJson <overloaded function with no contextual type information>

    This is the older version code for ArduinoJson v5.0: JsonObject& json_parsed = jsonBuffer.parseObject(json); This is after I changed it to ArduinoJson v6.0: deserializeJson=(doc, json); And after that, I got this error message C:\Users\wweih\Desktop\New folder (2)\free_code\free_code.ino: In...
  10. D

    C++ Implementation of Edmons-Karp algorithm c++

    I am trying to generate a random vertices and edges for my Edmon-karp algorithm, but I am unable to do it and I think that is useful formany of us, as there is no info on the internet how to generate automatically edges ant vertices. I am trying this method instead of inputting numbers by hand...
  11. P

    Intonew Startup (Join Us)

    5 positions open for a startup in Eastern, PA (long distance is most definitely an option thanks to technology!) Reinventing the way we see the world (more details during/after interviewing process) We are looking for (1 or many) A Programmer who is fluent in C, C++, or Java. (Arduino...
  12. P

    Tech Start-Up

    Looking for outside the box, grand thinkers, who constantly question the boundaries of life and society, looking ideally for someone proficient in C/C++ and/or HTML BUT completely open to interviewing any applicant who has a passion for solving problems. If you’re interested in a quick...
  13. LTomy

    Free C/C++ course

    Hello everyone, I have been working on creating a C/C++ course for quite a while now and I finally released it. You are welcome to check it out for free at https://ltcodex.com/Courses/Complete-C++-Course.html. Your comments (good and bad) are also welcomed! LTomy
  14. M

    C++ A Discussion Thread For The Hatred Of C++

    Hey there. As I'm sure every programmer on the planet is aware of, C++ is a widely hated language. One so widely hated that even one of the inventors of UNIX, Ken Thompson, spoke out about it. This was one of two quotes: So, I've decided to create this thread for everyone to rant about C++...
  15. Malcolm

    C++ How I built my age checker in C++

    Hello Code Forum! I'm back again with another How I built my series! Today, I want to show you how I built my age checker. In recent news in Canada, we have made cannabis legal. But you have to be of age to purchase. So I decided to build an age checker. I didn't put too much planning into this...
  16. Malcolm

    My basic calculator code for C++

    Hello Coders! Here's my calculator code if you wish to experiment or build onto it! :) // // Created by malcolm on 2020-07-31. // // Advance Calculator #include <iostream> using namespace std; int main(){ int firstNum {0}; int secNum {0}; int maths {0}; // Asking for two...
  17. D

    cplusplus.com

    cplusplus.com is a Website dedicated to C++ Programmers. It features Tutorials to help you get started on C++, it explains what C++ is and gives some History about the Language and there is even a Discussion-Forum that you can discuss C++ Programming with other Users on. The Site can be found...
  18. D

    C++ Is C++ A Good Language?

    Hey there. So, I'm a person who has a small amount of experience with C[I'm decent at], Java[Meh.] and Python[I'm not good with but I plan to start getting good at along with C and Java]. But, I have been considering whether if I should learn C++ or not. I've read a lot about C++ and it's a...
  19. TableFlipGod

    C++ How to call a function / Edit a value in c++ from c#

    So currently I have a project that wraps around this open source program : Here. And I want my form radio button to set the cap to 30 fps or 60 fps. There is a config type thing in the code shown here #include <d3d11.h> #pragma comment(lib, "d3d11.lib") #include "sigscan.h" #include...
  20. Malcolm

    C++ How do you swap variables with C++?

    Hello Coders! I'm looking for help swapping variables with C++, I know that you can use a temporary variable but you can also do it without it. Can someone show me both ways? int a = 5; int b = 10; //I want A to 10 and B to be 5. // I think I have an idea, is this correct? a=a+b; b=b-a
Back
Top Bottom