General C++ Programming (Page 6)

by asder
Finding Cycle in directed graph misbehavior
 
I am making a directed Graph class. I want find if there is any Euler Cycle and update a vector with...
[4 replies] Last: I if remove push_back on the else if it skips some edges (by asder)
Having problems with this code...
 
Fill even/odd vectors anmd transfer to a 2-D Array Purpose: Input numbers and segregate them by pla...
[1 reply] : Format your code with the <> button when you edit your post, and rep... (by poteto)
by Dani90
Problem with calculate complexity
 
Hello ....I have problem with calculate complexity for second loop f=1; x=3; for (int i = 1...
[6 replies] Last: consider the simpler #include <iostream> using namespace std; int m... (by icy1)
by lingfa
memcpy to a data struct not working (1,2)
 
GPS sends well-defined structured data out, for example, Applanix (POS TNG3 and POS LV5) sends Group...
[39 replies] Last: My initial thought of this testing is to find an efficient way of proc... (by lingfa)
why this overflow is occurring?
 
Hello guys, I am relatively new to C++ programming but have good experience in PHP. Anyways, I wrot...
[7 replies] Last: having ++* or *++ being the same thing In this case they are the s... (by doug4)
Show USB devices connected
 
Hello everyone, this is my first post in this forum. I've tried searching but found nothing that sol...
[5 replies] Last: The main thing are the classes from the .NET framework you need to use... (by Thomas1965)
by texxxo
End of GUI's ?
 
Hello, First of all I'm not a Programmer so i can't programm anything in c++ or other languages but ...
[3 replies] Last: I cringe every time we get a tool that works over the web. Invariably... (by jonnin)
Taking values out of a function to use it in another
 
Hello , I am new to programming and i'm really stuck! Our teacher gave us a problem , i'm so close ...
[1 reply] : Sorry for posting twice but it's urgent That makes no sense. If i... (by MikeyBoy)
What happens when you re-order/delete the vector you're iterating through? (1,2)
 
Hey guys, Lets say I have a vector myVector = {1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2}; and I decide to,...
[20 replies] Last: given the cited source on Stackoverflow, it seems that if I want to i... (by keskiverto)
by Allaye
way forward
 
hello guys, just need a little help or advice, i just finished the c++ fundamentals and i cant find ...
[4 replies] Last: > interested in winapi and networking? cant get hold of any meaningful... (by JLBorges)
by Prummi
Duplicate error, help needed
 
I am making a little command line game and I can't seem to fix this weird error. It says duplicate e...
[1 reply] : #pragma once only helps with preventing the same header file from bein... (by Peter87)
How to use .so file in c++ program?
 
i have a .so file in desktop directory. i want to use it in my c++ program.I do not want to use .so ...
[6 replies] Last: Perhaps you can run ldd on the library to check what its dependencies ... (by kbw)
Templates,pointers and move constructor
 
I have created a pair using templates but I have come across an interesting dilemma,what if we have ...
[11 replies] Last: Hi Peter, no I'm using c++11 (by adam2016)
std::vector::erase
 
Hey guys, One more vector related question. I searched the erase-remove idiom document for the answ...
[10 replies] Last: Deleting the last half will be much more efficient. And much easier t... (by Peter87)
Competitive progrsmming
 
https://www.codechef.com/JUNE18B/problems/BINSHFFL this is the problem link please tell how to so...
[5 replies] Last: Yes, this is the same problem, go look at that other thread. (by jonnin)
std::remove_if not working properly
 
Hey guys, I have a code snippet that looks like the following: auto overOneHundred = (Person& p...
[3 replies] Last: Thank you! Kinda new to the STL so this is good to know. (by Aaron Vienneau)
by Auglen
Newer at c++ (actually algorithm)
 
build the program in c ++ that finds the maximum and minimum element for some values given by the ke...
[7 replies] Last: I see. I tend to avoid breaking out of loops that way unless there i... (by jonnin)
Deck of Cards for Blackjack Algorithm
 
I am trying to make an algorithm that plays blackjack perfectly. My first step is to create the deck...
[3 replies] Last: > Couldn't we use it as regular function as below, without using frien... (by JLBorges)
by Mnx
Help for errors.
 
#include <string> #include <iostream> #include <cstdlib> #include <cstdio> #include <conio.h...
[2 replies] Last: You need to check your array boundaries. if (maze[player.y][player.x ... (by Thomas1965)
by sarosi
stringstream
 
I have a project that needs to read an integer of any size between 0 to 20. So I thought I could use...
[1 reply] : All the built-in integer types in C++ have fixed sizes so they can onl... (by Peter87)
Pages: 1... 45678... 17
  Archived months: [apr2018]

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