Beginners (Page 8)

Building my first functions
 
everything down to the output12 and output24 seems to work fine. I am trying to finish the conversio...
[6 replies] Last: Please use code tags when posting code - what you're posted is not rea... (by seeplus)
I'm new and don't know where to start, assignment due soon.
 
Write your question here. You are given a file consisting of students’ names in the following f...
[6 replies] Last: When posting code, please use code tags so that the code is readable! ... (by seeplus)
by tapni
Read matrix from file
 
I'm trying to make matrix to be read from file but the followin mistake occurs " no matching funct...
[6 replies] Last: Thanks guys (by tapni)
Trouble when create and load save file
 
So, my assignment is to create a horseboard game, and I am struggling with save/load part. I have 2...
[5 replies] Last: Well now's a good time to get to grips with the debugger. Use the debu... (by seeplus)
Problem with pointer
 
Hello, When the program goes to MinMax function(line 19), the value of the array changed automatica...
[3 replies] Last: Thank you so much. (by Shervan360)
to binary ecc
 
#include<bits/stdc++.h> using namespace std; void fun(int x ){ int a ; int cont=0; if(x=...
[3 replies] Last: Possibly: #include <iostream> #include <vector> using namespace st... (by seeplus)
c++ Program that uses structs and nodes to read data file
 
I am using a combination of structs and nodes using a heavily modified linked list program to read a...
[4 replies] Last: Perhaps: #include <iostream> #include <fstream> #include <iomanip> ... (by seeplus)
by ICantC
Memory alloc / generic function pointer
 
Hi all, I have 2 quick questions, I have a pure C text game, very small, just 1 test area created so...
[8 replies] Last: thanks a lot for the advice mbozzi, I'll give that idea a try! (by ICantC)
Help for beginner
 
When I make the program for this given task how do I print only non zero elements of array not the w...
[6 replies] Last: OK. Thank you very much buddy ! (by Shawnamous)
How to compare an int variable name to a string?
 
So for example, I want to compare the name of an int variable to a string, and if the name of the va...
[4 replies] Last: A somewhat roundabout way. But you have to know in advance which vars ... (by salem c)
a C++ Program which inputs a four-byte integer
 
In a Military database system, IDs of the army personnel are stored in a 32-bit value which is code...
[9 replies] Last: @seeplus: You're really not supposed to do homework for folk. (by kbw)
by jonnin
Debugging array value
 
you are not running the code you posted, as it will not compile. line 67 should be count. its poss...
[1 reply] : Here we go again......... (by seeplus)
a C++ program to perform 128-bit encryption and decryption using XOR operation.
 
Write your question here. Write a C++ program to perform 128-bit encryption and decryption using XO...
[5 replies] Last: Do you know what xor is? Maybe we can start with that. (by kbw)
how to print eight lined rainbow (of asterisks *)
 
The information about colours is to be stored in bits of a variable called colour. The bit number 0...
[4 replies] Last: You keep saying you have done the work, you've written code. PROVE IT... (by Furry Guy)
alias template import and export from/to DLL
 
My class has a alias template, class XXX_API Foo { // codes template <typename Value> Id2Va...
[4 replies] Last: > For template alias do I need to do similar things too? No. The alia... (by JLBorges)
Exercices of C++ Book.
 
Hello there!. Could not compile with error: root@supernova-MacBookPro:/home/supernova/Desktop/Impe...
[1 reply] : To compile a c/c++ program, you need a main() function. int main() ... (by seeplus)
by dhinze
"blank" must return a value?
 
I am creating a story based program but having an error? When I compile I am getting a "middle" must...
[1 reply] : function middle, of type string, must return a string. or, you can ma... (by jonnin)
Override specifier
 
Hi can you help me to fix the error in Invoice class .h - " dt Unknown override specifier" I think ...
[1 reply] : One thing I see is that your Invoice.h #includes Date.h, but your Date... (by Ganado)
by Ivanka
getpid () pit_t
 
This a small progam to print the process ID I got this result The process id: 165949 which...
[3 replies] Last: I dunno where you're getting the idea of child within the file itself,... (by salem c)
C++ structure program that returns student information from file
 
I have an unfinished program for homework, the main issue is I am not sure how to make a function th...
[5 replies] Last: 0,1,2,3 how many numbers do you see up there, 3 or 4? the array size i... (by jonnin)
Pages: 1... 67891011
  Archived months: [oct2021]

Cannot post in this page. To post a new message, go to the first page.