
please wait
by k 7
Pointer offset comparison
|
Greetings everybody ! Is there a clean way to compare two pointers, in order to no know which one has the bigger offset ? I need it because I have to write ... |
Feb 29, 2016 at 10:39pm
[3 replies] Last: Yeah of course I can deal with the situation described by Helios. I ha... (by k 7)
|
How to create a file with Dev C++ |
Purpose: The purpose of this program is the following: Read in the input file and organize the data inside from lowest to highest. Send the new data into an ... |
Feb 29, 2016 at 9:08pm
[4 replies] Last: Your problem description does not make it clear if you are only suppos... (by AbstractionAnon)
|
by landlord2017
Looking for Matlab sortrows function in C++
|
Hi friends, I am translating codes from Matlab into C++. I am using "Eigen" library to make my life easier, which is a library that provides many Matlab-like... |
Feb 29, 2016 at 7:51pm
[2 replies] Last: Here is the description: "B = sortrows(A,column) sorts matrix A base... (by landlord2017)
|
by doug4
Passing A Type
|
In my project I am generating template classes based on an input description. When working with integer types, for instance, I have to run through a list of ac... |
Feb 29, 2016 at 6:08pm
[3 replies] Last: Hi, Just my two cents worth here :+) Could you have a play with boo... (by TheIdeasMan)
|
by TinyTertle
Help recreating strdup()...
|
Rules: No standard library functions may be used. No subscripting is allowed. Here's what I have: char* strdupl(const char* s) { //find length of s int n =... |
Feb 29, 2016 at 5:10pm
[4 replies] Last: Yes it was! I'm pretty new to pointer arithmetic so I'm very sloppy ab... (by TinyTertle)
|
by dub1987
D&D Style Game (1,2)
|
I am given an assignment that I am to write a D&D Style Game using pointers and char arrays. The requirements are to have 3 files, 1) Character.h (which he give... |
Feb 29, 2016 at 5:05pm
[22 replies] Last: My apologies. I finished the assignment, but I do not want to post the... (by dub1987)
|
by eazye
Problem with integration script
|
Hi, I'm trying to code a program that performs an analysis of the integral I = 0.9sin(pi*x) in the interval 0.13<x<0.87 using crude Monte Carlo methods. I be... |
Feb 29, 2016 at 4:00pm
[no replies]
|
Creating Data File with C++ |
How can I go about creating a data file with the Dev C++ compiler? |
Feb 29, 2016 at 3:49pm
[2 replies] Last: Purpose: The purpose of this program is the following: Read in the inp... (by LiberianMagic)
|
by Lospwr
What is the source code for the following...
|
help |
Feb 29, 2016 at 3:41pm
[1 reply] : I think you should read this first. http://www.cplusplus.com/forum/beg... (by Thomas1965)
|
by keanedawg
Comparing empty strings where ' string = "" '
|
This is something that I've always been curious about but was never sure how to ask. I've always thought of strings as just dynamic arrays plus encapsulation... |
Feb 29, 2016 at 2:30pm
[5 replies] Last: It can be, but in my experience it isn't. Where we are now is the boun... (by Moschops)
|
by dominover
./configure commands C++?
|
I'm having some trouble understanding something. This is general across building all C++ libraries but the problem I'm having now is with an fltk library. I'm... |
Feb 29, 2016 at 9:47am
[2 replies] Last: I'm using MSYS.. That's why I'm able to use ./configure If I want to ... (by dominover)
|
by mbvanhorn
Error Check -- Not long
|
I cant get it to work, only a couple errors listed here....Its for my Intro to Programming class. It's suppossed to calculate overtime pay. Thanks for looking..... |
Feb 29, 2016 at 6:38am
[1 reply] : Your Intro to Programming class is teaching you to declare the main fu... (by sasauke)
|
by mntp3lt
Standard Deviation without arrays the Donald Knuth method
|
So. For a project we are supposed to write a file that reads a file containing numbers then determine the data set's mean, minimum, maximum, and standard deviat... |
Feb 29, 2016 at 5:13am
[2 replies] Last: This algorithm is due to Knuth, who cites Welford, .. 5. Donal... (by JLBorges)
|
by lonlon250
Error check issue
|
I have been having trouble entering an error check to this code for when a user inputs a letter instead of numbers for the Celsius or Fahrenheit input #inclu... |
Feb 29, 2016 at 4:16am
[3 replies] Last: if a user enters a letter when it's expecting a number. The iostream i... (by keanedawg)
|
by DarrenH
What is the syntax of this method header?
|
Hello, I am working on Win32 stuff and I came across a method header like this ATOM WINAPI RegisterClassEx( _In_ const WNDCLASSEX *lpwcx ); ATOM is... |
Feb 29, 2016 at 2:59am
[2 replies] Last: I didn't know such a thing existed in C++. Thank you. (by DarrenH)
|
by robbie123
finding error [ bubble sort ]
|
done |
Feb 29, 2016 at 1:10am
[no replies]
|
by Poltson
Trouble converting a postnet barcode into a postal zip code.
|
#include <iostream> #include <iomanip> #include <string> using namespace std; int string_to_num(string code) { // I have this to convert binary to a d... |
Feb 28, 2016 at 11:57pm
[1 reply] : When posting code, please use code tags. Highlight the code and press ... (by dhayden)
|
by technologist
for_each () disambiguation - 2 different ways from one function?
|
In the code below I am contrasting and comparing for-each loop situations on a normal array. Do the for-each() loops below appear "legal"? Am I using them appro... |
Feb 28, 2016 at 9:42pm
[2 replies] Last: Ok, in the following example, to be starkly obvious I just made card_d... (by technologist)
|
by systux
Memory management and where to start.
|
I've read a few things on memory management so far, but as far as implementing it goes, I don't know where to go. I read that you can use a for loop and overloa... |
Feb 28, 2016 at 9:39pm
[8 replies] Last: Not exactly lol. (by systux)
|
by ScoobyDoo
Banking application storing account info in array
|
Hello I've been working on a C++ banking application that should be able to hold more than one account with all the related field's. I have come across a few is... |
Feb 28, 2016 at 7:29pm
[1 reply] : I know a for loop to accept the user's input and store in an array is... (by ScoobyDoo)
|