General C++ Programming - March 2017 (Page 6)

Matrix printing
 
Hi all, so i'm trying to use a function to print 2 matrices, i expect it to print in the 2x2 form bu...
[2 replies] Last: oh, thank you. (by apollocreed)
by SCB3
Why this is happening?
 
So I'm trying to implement reading in a file of a board game. Now, I know the error is something to...
[6 replies] Last: http://stackoverflow.com/questions/5605125/why-is-iostreameof-inside-a... (by cire)
by blippy
Using _Decimal64 from g++
 
I am mixing and matching C/C++ in a single project. Whilst gcc recognises _Decimal64 as a built-in t...
[4 replies] Last: Nice, I didn't catch that these were OS specific defines, sorry. (by jonnin)
Integer Array that can be sorted in different kinds
 
Our professor haven't taught us about these parts yet the only clue we got is that it uses array. A...
[1 reply] : c++ has built in sorting, but usually these problems are to re-invent ... (by jonnin)
Plugin <stdlib> works no more. What plugin instead ?
 
Hi all! My O.S. ubuntu Linux 16.04. My compiler GCC, belonging to Code::Block 13.12. My program : Ec...
[3 replies] Last: Thank you very much. With <cstdlib> it's OK !! (by sylvain)
hook sendmessage without DLL
 
This is a example hooking windows api messages normally i must to use dll. Example: Injector. #incl...
[1 reply] : You can copy executable code directly into the other process' address ... (by helios)
find matches between 2 arrays
 
trying to find matches between my 2 arrays and display how many matches. int matches(int userarr , ...
[7 replies] Last: To see what's wrong with your code, here it is, indented to show the b... (by dhayden)
Issue with filter
 
I'm getting a duplicate in my array and I cannot figure out how, here's my output and code below ...
[17 replies] Last: Okay was getting the same result only because I didn't notice that com... (by awsdert)
issue with validation loop
 
Hi, my assignment is as follows: Write a program that uses the following arrays: • empId: an ar...
[1 reply] : Your do while loop conditions are wrong - you're just missing an = for... (by prc27)
Convert int to LPWSTR
 
How i can convert a int to LPWSTR?
[9 replies] Last: This shouldn't be happening: those symbols are defined by the standar... (by mbozzi)
Help with using functions!
 
Im trying to use functions inside functions... this is what i have... void Init_Keno(int arr , int...
[1 reply] : Im trying to use what i have in each funtion without typing the same c... (by iosgaming700)
Help calling a function in a function
 
made a function and need to use a function inside a function. I hope it makes sense. Ask below if yo...
[3 replies] Last: EDIT it worked (by iosgaming700)
Calculator Program
 
I've been assigned to make a program which can calculate all of the options stated below. I'm receiv...
[1 reply] : getOperands(num1); This only passes one number when it was initial... (by Hengry)
Show console since dl using mingw
 
The dll will be: // dllmain.cpp : Defines the entry point for the DLL application. #includ...
[2 replies] Last: How i can link the console to my dll?????? (by omarespanol)
char question
 
i have a question about the rand() function say i want to read two character in like AB or and WC ...
[9 replies] Last: i already solve it and i got to work in the loop thank for the help (by ghost1111)
creating all permutations of a grid?
 
I have a list of 2d vectors of characters, and I need to create and save all possible combinations o...
[4 replies] Last: yea that is what I got also, assuming you didn't want caps and lowers ... (by jonnin)
Fixing Date Class
 
I have to create an assignment that prints out the information that i set for the classes. I am havi...
[1 reply] : //d1.setDate(11/06/1996); d1.setDate(11, 6, 1996); Date dateOfBirt... (by ne555)
LVColumn question
 
Normally to get the name of item i do this: ((LVITEMW*)lparam)->pszText Reference: https://msdn.m...
[5 replies] Last: As far as I understand LVM_INSERTITEMW or LVM_SETITEMW deal only with... (by Thomas1965)
random character generate
 
hello everyone char c,g; for(i =0; i <1; i++) { c=(rand()%1) + 'A';//i know if ...
[3 replies] Last: it is initialized already. it contains your 3 possible outcomes. th... (by jonnin)
Return maximum value function
 
Hi guys so i'm creating this function to return the maximum value of an array, I have looked over ev...
[2 replies] Last: Thank you, that worked perfectly. (by apollocreed)
March 2017 Pages: 1... 45678... 19
  Archived months: [feb2017] [apr2017]

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