Beginners - December 2009 (Page 22)

problem with arrays/loops
 
My program compiles but does not do what I want it to do. It is supposed to display a seating chart...
[7 replies] Last: Here is the finished product for anyone else that may be having troubl... (by acct456)
by trier3
amicable number program bus error
 
#include<stdio.h> struct amicable { int **amicablepair; int size; }; struct amicable *getAmica...
[2 replies] Last: struct amicable *ami; ami->size=0; (by jsmith)
by j3tt
using string with void function
 
simple program to enter name and display name. what am i doing wrong? //Ch10ConE03.cpp //Displays...
[1 reply] : You need to pass inputName by reference: void getName(string & inpu... (by Bazzy)
Reading a file letter by letter into an array
 
Hi, I am relatively new to programming from scratch and I am encountering a problem trying to easily...
[4 replies] Last: tlchack5, The flexible array member is still a dynamically allocate... (by jRaskell)
Calling Functions Need Response ASAP
 
I need assistance on calling functions for a program. I have tried various things, but cannot get th...
[4 replies] Last: [quote=kiberstar]instead of using all those "std::thing, std::thing2" ... (by R0mai)
by Mihkel
Compiling your project
 
Hello I'm absolutly new to C++ . I just installed Microsoft Visual C++ Express 2008. I tried to c...
[3 replies] Last: http://msdn.microsoft.com/en-us/library/92bz82zh%28VS.71%29.aspx (by Bazzy)
by Lisa
linker error
 
Hello I have been working on this program for days and am hung up on my function definitions when tr...
[7 replies] Last: Please properly indent the code as well. The code tags aren't that he... (by kempofighter)
storing an array as an array
 
Is there a way to set a temporary array of the same dimension as the original array without changing...
[2 replies] Last: I prefer using std::vector for multidimensional arrays. Then it is si... (by kempofighter)
by trier3
amicable number program bus error
 
#include<stdio.h> struct amicable { int **amicablepair; int size; }; struct amicable *getAmica...
[no replies]
Assignment vs. Intialization
 
What is the difference between the two? How does unintializied variables cause bugs?
[2 replies] Last: It is a semantic difference, really. When we ask, for example, "what ... (by jsmith)
Question about a class, and brute for algorithm
 
So on wikipedia, theres and example algorithm to solve a sudoku grid by brute force, written in c. I...
[1 reply] : It sure looks to me like all solve() does is solve a single cell, not ... (by jsmith)
Distance From Average
 
Hello everyone! I was given a problem for school and I need some help with it please. Here it is: ...
[4 replies] Last: Haha that is what I thought but for some reason when I did it myself i... (by ohsnap1319)
Vowel remove
 
I Have to make a program that will remove all the vocals from a string characters,And I have no idea...
[3 replies] Last: yes this should work, but just if you wonna replace them with a blank ... (by MaikCAE)
extract data from .txt file
 
Hy, I have a .txt file with lots of data packages. At the end I want to sort this data by time po...
[3 replies] Last: I'm still not entirely sure; I haven't read your file yet, because I'm... (by chrisname)
How to load content to StringGrid using TMainMeniu Objects
 
It's once again me. Now i am seeking for some knowledge on TMainMeniu objects. For example an TMainM...
[no replies]
by mac123
Reading and Writing to a txt file.
 
I need help with this program I'm coding this program is supposed to write to a file and read from t...
[3 replies] Last: ios::app means 'open the file in append mode' Its used only while wri... (by tene)
LNK2019 Problem with functions
 
I've looked through many threads here with the similar problem but I cannot seem to fix my code. T...
[4 replies] Last: Haha so it turns out that is totally fixed and it runs like a champ on... (by Programmer Will)
by ztein
A good book about Win32 programming
 
So many books about Windows programming with C++, but which one contains well explained and easy to ...
[no replies]
how to turn off setfill()
 
I'm using the iomanip setfill() to format one field in my output to a file. The problem is that ever...
[3 replies] Last: setfill(' ') did it, thanks (by grcunning)
Converting chars to ints from binary file
 
I have kind of a complicated problem. I'm reading a binary file with open() and read(), and I would ...
[4 replies] Last: There we go, that works beautifully. Thank you so much Maik (by MediocreGopher)
December 2009 Pages: 1... 20212223
  Archived months: [nov2009] [jan2010]

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