General C++ Programming (Page 29)

How to change values of an array? then display?
 
how can i change the array value and display the updated value. for example this is the output begin...
[1 reply] : #include <iostream> #include<string> #include<map> #include <cstdlib>... (by sujitnag)
problem in search (1,2)
 
#include<fstream.h> #include<conio.h> #include<stdio.h> #include<string.h> #include<process.h> c...
[21 replies] Last: So, what is your problem? Search Menu ... (by MiiNiPaa)
Comparison of Two XML Files
 
Hi guys. I need a program that can compare two xml files for equivalency using any XML Parser .An...
[2 replies] Last: @ajh32: Do "abc" and "bac" have the same hash? XML is tricky, because... (by keskiverto)
operator[] return type
 
#ifndef MATRIX_H #define MATRIX_H #include <vector> using namespace std; template <typename Ob...
[2 replies] Last: What they try to say is that if the line 23 would return a non-const ... (by DyslexicChciken)
Temperature Program
 
How would you be able to show both outputs celsius and Fahrenheit and my temperature conversion is c...
[1 reply] : The formula for celsius -> (fahrenheit - 32) * 5/9 How would you be... (by coder777)
understanding Makefile
 
i know it's unix related, but i'm having a hard time getting some response. If anyone could guide me...
[1 reply] : Read Chapter 2: An Introduction to Makefiles in this tutorial https://... (by JLBorges)
by Olaf
how to correctly initialize instances of a class?
 
I am not a C++ wizard, so please excuse me if this question is completely stupid. I am strugglin...
[6 replies] Last: Perfect. For future reference: "uniform initialization" and "C++'s 'Mo... (by Olaf)
Bubble Sorting a linked list?
 
Hello, I am relatively new to C++ and am trying to bubble sort my linked list that creates 100 rando...
[1 reply] : There are two ways to re-order a list. You either swap values or chan... (by keskiverto)
by wahhaj
Dynamically changing array elements inside of structures
 
I'm learning pointers and references in class and I have run across what I believe to be a syntax pr...
[4 replies] Last: I got it, thanks for helping out (by wahhaj)
Key with Modifier
 
I am new to C++ , i want to know how to check if a key with modifier is pressed. When i use GetAs...
[1 reply] : Can someone help me please? (by Mora Hannover)
by JohnyL
Excel XLL returns different results
 
Hello everyone! I am using Excel 2013, Visual Studio 2015. I began learning about Excel XLL. I wrot...
[2 replies] Last: @MiiNiPaa Thanks a lot! Yes, I completely forgot that operands are c... (by JohnyL)
Output the Correct Standard Deviation
 
The program does compile the average and the mean correctly. I can't understand why the standard_dev...
[7 replies] Last: You guys are awesome!! it worked. My program is outputting the correct... (by ep7network)
Adding padding in bmp image.
 
Hello, everyone I am working on pset4 in the CS50 online coarse. The goal is to resize a bmp image. ...
[2 replies] Last: I figured it out the fseek line should have been for the padding of th... (by arortell)
Visual C++ 2013 gives linker errors when using __inline/inline?
 
Can anybody tell me what's going wrong here? I've defined all functions a follows (using a consta...
[3 replies] Last: No, you cannot. Standard requires for function definition exist in eve... (by MiiNiPaa)
Why assignment operator return by reference?
 
I have code here that uses assignment operators that doesn't return by reference and it still works....
[3 replies] Last: If you write (x = y) = z; , returning by reference and value would ha... (by MiiNiPaa)
Easy Multi-Texturing with OpenGL and GLSL
 
Hey Guys, I just made a blog post describing my set up for rendering objects with multiple textures...
[no replies]
Issue with binding static reference to temporary
 
Hi, I've been developing a registration-based reflection library for C++, and I ran into an interes...
[no replies]
Pages: 1... 272829
  Archived months: [jan2015]

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