General C++ Programming - February 2019 (Page 6)

fprintf vs storage in matrix
 
Hello, I'm writing a numerical code and I need the results in a .dat file. My question is: Is it fas...
[5 replies] Last: You could also recast a pointer to the double's bytes and write it in ... (by jonnin)
by H00G0
Anyone having this issue with VS 2017?
 
Hey guys! I'm currently using Visual Studio 2017 and I've run into a bug of some sort. For some r...
[18 replies] Last: you can build a little tool (depends on OS what is needed) to update t... (by jonnin)
by nmn8
help write c++ code
 
For this assignment, we want to process WORDS in input files and, potentially, change some of those ...
[4 replies] Last: I remember when I was in this position a year ago. I came to this site... (by nicholasjb1996)
Unix C++ Compiler Error
 
im trying to compile a c++program in unix enviroment at HPUX box via c++ Compiler, but im hit with b...
[5 replies] Last: After I changed TiXmlText to TiXmlElement, I don't get any error but t... (by chamcham)
Struggling with matrices in OpenGL
 
Snipping this as I've changed the code; See my next big post please
[7 replies] Last: Just throwing this out there: I understand that you want to avoid GLM ... (by Ganado)
State diagramm
 
Hey Guys have I solved task right ? https://www.directupload.net/file/d/5363/ygp59kzc_png.htm I ...
[2 replies] Last: Can you really not read it ? (by Rocky35)
Move constructor not being called
 
Hi, I have this code: class ClassA { int* p = new int; public: ClassA() = defaul...
[2 replies] Last: Thank you Peter87!! (by JUAN DENT)
Error C2360
 
#include <iostream> #include <iomanip> #include <string> using namespace std; std::string nu...
[2 replies] Last: The missing format makes it hard to read your code... Actually you ne... (by coder777)
initial value of reference to non-const must be an lvalue
 
Hi, I have this simple code: int g(double x) { return std::floor(x); } int&& i(double x) ...
[6 replies] Last: [quote=mbozzi]Edit. See what Scott Meyers has to say about it: He's w... (by Cubbi)
Target specific functions with intrinsics
 
Hi, This is a GCC question more than C,C++ so if its the wrong place please suggest a better plac...
[no replies]
How to output Matrix here???
 
//Solving System of Linear Equations using loops #include<iostream> #include<iomanip> #include<...
[5 replies] Last: Hahahaha, that's great!!! Thanks for that, I just make double Mat an... (by emjaypee)
by nmn8
help my C++ code with error: no match for ‘operator++’ (operand type is ‘std::vector<char>’)
 
#include <stdio.h> #include <string.h> #include <fstream> #include <iostream> #include <vector> ...
[3 replies] Last: The std::map stores its elements in std::pair so you need to pass a st... (by Peter87)
by faeory
reading and parsing a text file
 
Hi! can someone please help me with a code that reads and parse this text file: (A,B)=1 (A,F)=10...
[1 reply] : Perhaps something like this. #include <iostream> #include <sstream>... (by dutch)
Referencing an object in another class
 
So, this is actually for my Vex V5 c++ programme, but the vex forums keep denying my account for som...
[2 replies] Last: If I understand correctly, Motor is an object apart of the vex class (... (by PapaGeki)
by faeory
System Partitioning Operations
 
HI ! can someone please help me with this assignment?! the assignment is about developing a system...
[no replies]
Accept only input chars I want
 
Hello, I'm fairly new to C++ and I'm constructing a program that defines a FSA, its states, acceptin...
[1 reply] : With C-style strings: #include <iostream> #include <cstring> bool ... (by dutch)
foo() precedence over foo(...) for foo() call?
 
I thought that I could rely on the fact that when foo() and foo(...) were available a call to foo() ...
[11 replies] Last: I think f(double) and f(int) can confuse the compiler as well, for a f... (by jonnin)
Class Diagramm
 
Guys here is again a task in German where I had to make a class Diagramm . The task was: I think...
[1 reply] : ¿what's the meaning of the dashed lines? (relationships between handy... (by ne555)
Use Case
 
Have I solved this task right Guys With a use case You should use the software of the control unit...
[8 replies] Last: Trying to "translate the translation," here is what I came up with: Y... (by dhayden)
const wchar_t* to wchar_t* error
 
Hey, i always have problems with those wchar things. Hopefully someone of you can help me with th...
[3 replies] Last: Thank you both :D @coder777 works perfectly @helios: i'll take this ... (by CppPrgm)
February 2019 Pages: 1... 45678... 11
  Archived months: [jan2019] [mar2019]

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