General C++ Programming - October 2019 (Page 3)

Is a graph the right structure to represent an SPICE electronic circuit??
 
Hello. I am a student who is figuring out how to build an SPICE simulator. I don't have dollars to s...
[5 replies] Last: Thanks for your help. I will to put it in practice. Just let me try. (by enriquemesa8080)
by amyamy
Help please
 
Here I think I did something wrong with the class line and the operator and I cannot write the main...
[6 replies] Last: don't edit the post, insert your updated code in a new reply. point ... (by ne555)
looking for help
 
i am working on a native executable using parcel. the executable is in c++ and will send the parcel ...
[11 replies] Last: Seems i was confused and needed to be multi domenional vector of same ... (by oakieville)
"0000:0e:00.0" does not seem to be grabbed properly
 
From: #include <iostream> using namespace std; #include <iostream> #include <stdio.h> #inc...
[5 replies] Last: This is a job for strtok(). Does anyone know if there's something equi... (by jonnin)
replace valarray library with orthodox c++ version
 
Hi, I would like to do Fast Fourier Transform (FFT) on the hardware. However,I need to use classical...
[16 replies] Last: May I know how to do FFT in a very very basic c++? Thank you. you do ... (by jonnin)
How to create one object with two or more constructor initialization
 
How do we create one object with two or more constructor initialization at once, without changing a...
[4 replies] Last: This looks like followup to: http://www.cplusplus.com/forum/general/26... (by keskiverto)
Help please
 
Output the most valuable officer of each team. The most valuable officer is calculated by adding the...
[1 reply] : http://www.cplusplus.com/forum/windows/264482/ ^Don't post duplicate... (by zapshe)
Loading a vector of vectors with random numbers
 
I need to load a vector of vectors with 0's and 1's randomly and I'm unsure how to calculate a rando...
[3 replies] Last: Have you written any code to try to solve your assignment yourself? P... (by deleted account xyzzy)
Vector of vectors function
 
I am trying to declare a function that will return a vector of vectors but I do not know how to decl...
[2 replies] Last: #include <vector> #include <iostream> using namespace std; using mat... (by lastchance)
i am trying to make a Write a C++ program that has linked list the code i am using is given below but its showing some errors
 
#include<bits/stdc++.h> using namespace std; struct customer{ unsigned int sequence_number; int ...
[4 replies] Last: thanks sir really appreciated. may ALLAH bless you (by aabiavvan)
If you assign one Node to a second Node, does that second Node have the same data address as what was assigned to it?
 
Say I have this Node struct: struct Node { int data; Node *prev; Node *next; ...
[14 replies] Last: Yeah I think I understand this a lot better now. I think I got confuse... (by vaderboi)
PVS-Studio in 2019
 
We bring to your attention the presentation of “PVS-Studio in 2019”. The fact is that from time ...
[no replies]
How to initialize variable dynamically in class declaration, and being not constant
 
How to initialize variable(s) dynamically i.e. being not as constant, in class declaration which wil...
[1 reply] : int a_function(int s) { return valuation<NO>(s).value(); // no nee... (by keskiverto)
what is the meaning of "all engines produce integer numbers in a uniform distribution"?
 
This can't mean the probability of an engine to produce a value in a range is the same for each valu...
[4 replies] Last: * but there is absolutely no reason why you couldn't. i.e. the recom... (by Duthomhas)
Cast (or copy) Base class into sub class
 
Dear experts I understand the mechanism of downcast, that is, base class can be cast into the sub c...
[13 replies] Last: Thank you, everyone. I could understand how to proceed. I appreciate ... (by Mitsuru)
In C++ 11, how can we initialize a char* with an empty string? (1,2)
 
I tried this: char* buffer = static_cast<char*>( ""); Gives error: error C2440: 'static_cas...
[20 replies] Last: Thanks for all your help! (by JUANDENT)
function template has already been defined
 
#include "linked_list.h" #include <string> using namespace std; template <class objec...
[4 replies] Last: i get some weird errors That's pretty vague. Change the extension ... (by doug4)
Help converting a method using pointer to use copy constructor instead
 
Imagine the method below is fully functional. However professor is saying it is not acceptable to us...
[2 replies] Last: Done salem c. appreciated if anyone can help. (by mrpear2020)
Evaluate Fixpost Expressions with Linked Stack
 
I have the linked stack files (header and implementation). But I don't know how to write a program w...
[8 replies] Last: How would I know whether if it's a digit then I could push on the stac... (by mlanuri10)
How to extract json blocks from a textfile
 
Hey all! I have a text file that has both "text" and json in the structure. The text has some outp...
[2 replies] Last: thanks @jonnin I managed to get the file into String Stream and let re... (by Ongbak2019)
October 2019 Pages: 12345... 10
  Archived months: [sep2019] [nov2019]

This is an archived page. To post a new message, go to the current page.