Beginners - October 2012 (Page 58)

Help with my loops
 
Hi! I'm trying to write a program that gets the number of years someone has data for and then the amount of rainfall for each year, and then total the rainfall ...
[1 reply] : I figured it out... I forgot to initialize my variables like last time... (by cspctec)
Compiler issue when switching computers
 
Whenever i switch computers to work on a project(stored on my flash drive) the code gets corrupted, i continually get the error: ||=== ExerciseTrackerHm, ...
[1 reply] : This might be because of object file incompatibilities. Different comp... (by drthingums)
by hadis
How to compress Sparze Matrics
 
Hi Does anyone know how I can compress my sparse matrix with the easiest way? and how I have to multiply two compressed matrix together? I have several reall...
[no replies]
Functions
 
I dont understand how to make functions or how to get them to work? Please help these are the directions Function Name: display( ) Arguments: None R...
[2 replies] Last: your code_not_valid() function is returning a different type then what... (by pogrady)
••FORM HELP••
 
My simple form works on my computer but no other. How do I fix that?
[3 replies] Last: No I am testing it on a vista and my other one worked on a vista. (by Forseth11)
Input emulation
 
How can you make multiple mouse actions in different windows at the same time or without opening the window? ex. I want to have the program perform an action...
[no replies]
Border for 2D array
 
Hi, I have a function below that outputs a matrix (2d array) the output looks like this: 1 2 3 4 5 6 7 8 9 But I want to to look like this: |1 2 3| ...
[2 replies] Last: thanks (by enosmac)
C++ Progression
 
#include <iostream> using namespace std; int main () { double d; double startnum; double n; cout <<"Starting number - " << endl; cin >>...
[7 replies] Last: #include <iostream> using namespace std; int main () { double ... (by DontSeeMinusMinus)
Copy-On-Write example
 
Hi, I want to create a copu-on-write mechanism. I am supposed to have a class (StringHolder), that will keep a pointer to a string. I want if there are othe...
[6 replies] Last: Ok i will give it a shot. But if you don't recommend the map what woul... (by zanklob)
Why do I have to hit ENTER twice here?
 
I have some code that is giving me fits. I need to check that the data entered by the user is an integer between 0 and 10. This code is broken because the use...
[2 replies] Last: Ah, thanks a lot. Issue resolved :) (by enosmac)
Copy on Write program
 
Hi, I am trying to make copy on write program, but I get a Segmentation fault after my first result (String kiri has : 1 pointer(s).) It is mandatory for my...
[2 replies] Last: Yes i am sorry i will delete the second. (by zanklob)
no global operator found
 
error C2677: binary '==' : no global operator found which takes type 'std::string' (or there is no acceptable conversion) How to fix this code? #include "st...
[6 replies] Last: You shall insert a semicolon after the first statement in this code sn... (by vlad from moscow)
Error: "cout" is ambiguous.
 
what do i do to take the red squiggly out from under the cout word when it says it is ambiguous?
[3 replies] Last: Ambiguities will not be the result of neither failing to include " ios... (by closed account zb0S216C)
i want to create N numbers of structures of type rectinfo.........
 
// Aqeel Abbas LW1 week5.cpp : Defines the entry point for the console application. // #include <cstdlib> #include <iostream> #include <conio.h> using n...
[4 replies] Last: cire :) thnx u brother :) thtz really helping :) i love u...u always... (by Aqeel Abbas)
Error when passing vector as parameter of a function.
 
When I try to call a function that has a vector as a parameter, it produces an error. When I used the name of the vector, it gives the error: "more than one in...
[13 replies] Last: two prototypes. I fixed the parameters, so it runs now. Thanks for y... (by pandora13star)
Strings
 
I am trying to make a small program, and I would like to know is it possible to make string variables in c++?
[3 replies] Last: http://www.cplusplus.com/reference/string/string/ for everything you w... (by maeriden)
by Aceix
Raster fonts
 
When one says: "a raster font means that the characters are defined as blocks of pixels", what does it mean? Can anyone elaborate on this, I'm also researching....
[2 replies] Last: Thanks for the info. Aceix. (by Aceix)
self-pointer
 
can i make a pointer that points to itself?? i tried it but m not able to write its program..could anyone help plz..
[14 replies] Last: Please write properly, google fails to translate that. The equivalent... (by ne555)
Linked List
 
the following code gives an error- #include<stdio.h> #include<conio.h> struct NODE { int info; struct NODE* next; }; void func(NODE...
[4 replies] Last: then how memory got allocated? It was not how m i able to use sta... (by maeriden)
by Muggy
Structures Help
 
Hi everyone, I am having trouble working with structs. The objective of the assignment is: In Chapter 9, you were asked to write a program that keeps track of...
[6 replies] Last: Just like maeriden posted. Did you look at my link? It gave you an exa... (by Code Assassin)
October 2012 Pages: 1... 5657585960... 84
  Archived months: [sep2012] [nov2012]

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