[try Beta version]
Not logged in

Beginners - November 2020 (Page 3)

How to ?
 
Hello im having a little problem. I need to make a program in which i enter a number between 3 and 1...
Nov 25, 2020 at 7:18pm
[6 replies] Last: #include <iostream> #include <string> #include <set> using namespace ... (by lastchance)
understanding character pointers
 
I was expecting the cout to print addresses since b and d are pointers, but only b prints the value ...
Nov 25, 2020 at 6:08pm
[2 replies] Last: Just cast b d to say long int (or long long int for x64). It will then... (by seeplus)
Class definition?
 
I am to write program using a class definition "Bag". I am new to class definition and don't quite ...
Nov 25, 2020 at 4:50pm
[2 replies] Last: to allow the user to enter a item until the user wants it to stop, a... (by seeplus)
How I can go it?
 
Using the code, I determine the numbers divisible by a given divisor, but you need to output what ex...
Nov 25, 2020 at 12:27pm
[5 replies] Last: Thanks for the help. I used your output and framed in my code and ever... (by chebyrek)
by Walkup
Trouble w/vector and while
 
I am going through C++ Primer (Lippman) and am in chapter 3. Exercise 3.17 reads as follows: Read a...
Nov 25, 2020 at 12:10pm
[10 replies] Last: [quote=jlb]it'll make your cod much easier to read. I'm not sure this... (by MikeyBoy)
Problem to write CGI variable to a log file
 
Hi everyone! I'm new here:) I'm trying to write just received CGI variable to a log file. CGI scr...
Nov 25, 2020 at 11:47am
[5 replies] Last: Problem is solved. My fault was an unavailability of the log file with... (by spistol)
I have array and I need display numbers divisible by the same number?
 
How to deduce from an array of numbers divisible by the same number? I understand how you can deter...
Nov 25, 2020 at 10:36am
[6 replies] Last: If you want to store the numbers, then using a map: #include <iostr... (by seeplus)
How to make output AND,NOT,OR,XOR
 
I want to make output AND,NOT,OR,XOR: S = ++G * H < D > 100; J = --G + D * H < 100; K = ++S + --J * ...
Nov 25, 2020 at 8:27am
[8 replies] Last: > Make logical operator AND,NOT,OR,XOR: What do you mean 'make'? Are ... (by salem c)
explain the code please
 
so i have a code here, could you please explain what these brackets do "{}" (not the ones after int ...
Nov 25, 2020 at 7:32am
[3 replies] Last: thank you so much, this helped a lot!! :) (by laura fidarova)
by Leevi
Do While loop breaks when typing charecter
 
I don't know if it is a bug or if I'm wrong but someone please help me. I encountered this problem w...
Nov 24, 2020 at 11:33pm
[2 replies] Last: Hello Leevi, To expand. Formatted input, i.e., cin >> test; , means... (by Handy Andy)
by Cintru
Creating a " triangle row" using arrays
 
How do you make a program in which you must submit a number N which can vary from 3 to 100 or N Є [...
Nov 24, 2020 at 5:29pm
[2 replies] Last: it works well enough , thank you ! (by Cintru)
printing out box issue - explanation needed
 
Hello, first of all I would like to say I know how to solve the issue I am having but I just cant fi...
Nov 24, 2020 at 3:59pm
[7 replies] Last: Thank you for the replies. I was mostly looking for an explanation abo... (by DonnaPin)
by yem
Casting Strings as Ints
 
Hey, So I need to hash and my key is a string. What would you say would be the best way to convert ...
Nov 24, 2020 at 2:10pm
[11 replies] Last: Or as C++: unsigned int hash(const std::string& str, size_t mod) { ... (by seeplus)
Reading input file txt and sorting it out in output file txt
 
deleted.
Nov 24, 2020 at 3:06am
[2 replies] Last: Either to much work or got answer and left. Hello winter89, It just ... (by Handy Andy)
Creating a POS Receipt
 
Hello everyone! I would like some help on a program I'm currently writing. I need to display a recei...
Nov 24, 2020 at 2:40am
[4 replies] Last: Hello colinseven, This is only set up for 1 input, but it should give... (by Handy Andy)
by tgp23
10x10 Battleship game 2d array issue
 
Hello all, I am currently working on a C++ battleship project but this seems unique to many of th...
Nov 24, 2020 at 12:09am
[6 replies] Last: Hello tgp23, Things left, commented our, are there so show why they a... (by Handy Andy)
Making a calculation based on the operator a user inputs
 
Hello, not sure how to go about solving this. cout << "Enter the first number: "; cin...
Nov 23, 2020 at 9:29pm
[3 replies] Last: switch requires an integral type. Even a char array won't work with a ... (by deleted account xyzzy)
I would like your opinion on this code
 
Hello everybody. This is a sudoku with 2d array. It prints it calculates and it almost solves itself...
Nov 23, 2020 at 6:18pm
[2 replies] Last: The sleeping,i thought would break the pattern the random numbers have... (by closed account o35DwA7f)
passing pointers to object in C++
 
Write your question here. Please help C++ greenhorn navigate the task and learn how to pass pointer...
Nov 23, 2020 at 5:32pm
[5 replies] Last: CCC_LocalAdapters *LocalAdapters_info = new CCC_LocalAdapters(QList<Q... (by MikeyBoy)
Creating an appointment scheduling program using queue doubly linked lists
 
I am trying to create a code to create an appointment at a hair salon using queue doubly linked list...
Nov 23, 2020 at 1:07pm
[8 replies] Last: And if you modify that code in the above sample to bring it into line ... (by againtry)
November 2020 Pages: 12345... 14
  Archived months: [oct2020] [dec2020]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.