Beginners - June 2015 (Page 3)

Going the Next Step
 
Hello! I am taking Intro to Computer Science over the summer. I was wondering if you could give me a question that would use the concept that was tested o...
[no replies]
A lot of questions about binary (writting, reading, etc.)
 
So I have a problem with, as the title says, binary fstream. As in the code down there, here are my questions: 1. How to write in a user defined char array ...
[1 reply] : I really find your code difficult to read, with all the single letter ... (by jlb)
by Durpo
Reading From File - Using While Loop
 
I'm trying to make the following Read from file end when it encounters -1. however the following code continuous reading the -1 row. Does it have something to...
[6 replies] Last: inputStream>>score1>>score2>>score3; (atleast i think this is redunda... (by jlb)
Map!
 
I am trying to access the first key and value stored in my name_to_email. However, an "Segmentation fault (core dumped)" error message is showing up. Any sugges...
[2 replies] Last: @Peter87 Ahhhhhh. Got it. Thank you so much! (by jhykima)
Binary Trees
 
I hope this is a proper to question to ask on this forum. How important is it to learn about Binary Trees? I am learning how to make a binary tree, delete t...
[3 replies] Last: Actually STL does not have a tree. Some of its classes are implemented... (by MiiNiPaa)
Need help with understanding
 
In the printf function I always see something like this cout << printf("Enter what has to be done",1); I understand the "Enter what has to be done" but ...
[6 replies] Last: It's not surprising, printf returns the numbers chars successfully w... (by TheIdeasMan)
Residual !!
 
Hallo, I have two sparse matrix vector multiplication one is with jagged diagonal storage format another normal matrix multiplication. That is problem : "Com...
[2 replies] Last: #include <iostream> #include <fstream> #include <string> #include <... (by candidate)
Problems with code pages
 
I've writen a program in C++. It reads text from ASCII file, but it don't know signs č, š, ž. So I've set "SetConsoleOutputCP(852)" and "SetConsoleCP(852)" i...
[4 replies] Last: Well, yes, reading from a file is simple enough. The problems start wh... (by helios)
by Filorn
output unknown problem
 
This little function should show "3,5,2,7,4,2,7,0,0,0" but the element 8 is a 7-numbers random number. Please help me #include <stdio.h> int print_array ...
[5 replies] Last: ok thank you both (by Filorn)
by calz
Read numeric and change to alpha
 
I need a program that checks for numeric in a sentence and change it to alpha given by user. If it find alphanumeric it must skip
[9 replies] Last: Then you need to extract the words from the sentence and determine if ... (by CodeWriter)
by Filorn
name of function
 
I copied this function from a C guide but i don't know why the function type is void and not int or another one. void swap(int *a, int *b) { int tmp; //...
[2 replies] Last: ok thanks i supposed that (by Filorn)
by h4ever
Tabs in a window
 
I need a bit help with explanation how tabs works. I am studying this application source code: http://codepaste.net/184rjv And I would like to find what ...
[1 reply] : Some things what i have noticed in the main file: /* These are the... (by h4ever)
by lena
Segmentation fault (core dumped) when reading in large number of files.
 
I have a simple function that reads .dat files of various sizes into double arrays. I call the function a large number of times. When I call the function to cre...
[4 replies] Last: Thank you everyone for help! Indeed allocating larger arrays dynamical... (by lena)
Writing a auto-boot program with C++
 
Hi guys, I'am a amateur c++ programmer and had being finding it difficult writing a auto-boot class for my new program. I would be glad if anyone can help me wi...
[no replies]
by Reekoh
Calculation problem
 
Write your question here. Hi guys! I'm kind of a newbie on C++ and I'm stuck on this problem. It's not that it's not compiling but for some reason it's not doi...
[2 replies] Last: ! I did not know that, my program works perfectly now. Also is there ... (by Reekoh)
Need Help with my code
 
I keep running into an error with my code. It consists of three different header files and three .cpp files. It is a project I am working on in school and I nee...
[3 replies] Last: This is my genre header #ifndef GENRE_H #define GENRE_H #include ... (by SolBloodhart)
Need help with project
 
Hello I am new to this C++ and so far Im enjoying it when Im getting it. I have been struggling with this project for a few days and have used your forums as a ...
[8 replies] Last: Hello, I comes from China, my English is poor, so that I cannot descri... (by shuimu)
Install exe with exe
 
Hello I have a strange question, I have to install a software backup on 40-50 pc with windows. (Windows 7 32 bit) I wrote a software and works fine. But now,...
[no replies]
Help with While looping
 
I am really new to programming and I need help with writing a while USING A LOOP, subtract all of the numbers between -5 and -44.
[2 replies] Last: I agree with HBehbahani but here are some code - you must modify somet... (by simeckijan2)
Ftp upload problem
 
Hello guys, I'm Samuel from Italy and this is my first message, I'm a noob and I'm a php developer. I need a C++ software that upload one time per day one backu...
[2 replies] Last: solved with this code: HINTERNET hSession = InternetOpen(NULL, ... (by generatioZero)
June 2015 Pages: 12345... 32
  Archived months: [may2015] [jul2015]

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