
please wait
by seeplus
Recursion
|
l is lower-bound. r is upper bound for the array part to search. This is binary search by recursion for a sorted array. |
Dec 12, 2021 at 5:21pm
[4 replies] Last: :) :) :) (by seeplus)
|
by Chikwado
Differents member functions and how to implement them in C++
|
Good day admin I need better explanations on how to implements the below c++ member functions. int get() {return x;} int& get() {return ... |
Dec 12, 2021 at 5:17pm
[3 replies] Last: If a member function doesn't change a member variable and doesn't retu... (by seeplus)
|
by Mae4ashy
Dynamic Queue - dequeue first element
|
Hello together! I'm currently writing a code to manipulate linked lists. For that I created the struct Node with a value of type const int and a pointer to t... |
Dec 12, 2021 at 1:13pm
[9 replies] Last: Ahhh i see, i forgot to reassign 'last'. Oh wow thanks a lot, now it i... (by Mae4ashy)
|
array |
The program was supposed to copy the user's input. However, the EAPP or the input where the user types numbers, doesn't show on the output. Only bunch of number... |
Dec 12, 2021 at 12:45pm
[1 reply] : L6, 7 - do you mean to have name and nationality as only 1 char? L33.... (by seeplus)
|
by s021623
getline wont work and being ignored
|
I tried to make a restriction input which restricts letters and spaces only on setx() and numbers between 100 and 200 only on sety() . While I need to use g... |
Dec 12, 2021 at 9:53am
[5 replies] Last: In the words of a white rapper: "NEXT TIME? THERE WILL BE NO NEXT TIM... (by zapshe)
|
by chebyrek
I need an advice!
|
Write your question here. The problem is as follows. I need to compare the template with the flattened shapes on the template. I have the coordinates of the tem... |
Dec 11, 2021 at 9:42pm
[6 replies] Last: OK, thanks for the advice. Agree with you on WinForms. (by chebyrek)
|
Decimal to Binary |
What is your question? Avoid the use of <bits/stdc++.h>. It is not a standard headers. Use the standard headers instead. PLEASE ALWAYS USE CODE TAGS (the <>... |
Dec 11, 2021 at 6:47pm
[1 reply] : What about: void decimalToBinary(int n) { static const int MSB_MA... (by kigar64551)
|
by bergjensen33
How can I "export" a variable declared within an if out of the if scope?
|
Hello. I'm trying to code a program that would prompt the user for whether it should assume a default resolution for the window or if it should accept width and... |
Dec 11, 2021 at 5:11pm
[3 replies] Last: You can put the code into a function which returns say a std::pair. Yo... (by seeplus)
|
by Paul5
Read data from text file into linked list of type user defined and then perform specific operations on it (1,2)
|
Create a C++ based grocery application in which list of items along with their unique item ID, name, description and price per item will be displayed on screen ... |
Dec 11, 2021 at 1:53pm
[28 replies] Last: Make it a class if you want. I was only giving you pointers for this. (by seeplus)
|
by SlowCoder
Structs vs Classes - What's the purpose?
|
If structs and classes are effectively identical, except for the default public/private declarations, what's the purpose of having both? Why muddy the water? ... |
Dec 11, 2021 at 11:51am
[16 replies] Last: I linked the core guidelines, for such things as invariants. here is ... (by TheIdeasMan)
|
Way to move punctuation back to end of word (pig Latin) |
Hello, Pig Latin program here --- I am really struggling to come up with a way to move punctuation back to where it belongs .... (Ello!hay needs to be be -... |
Dec 11, 2021 at 11:20am
[13 replies] Last: Just a comment to assist with future programs. Before starting to code... (by seeplus)
|
by SlowCoder
char[] vs string (1,2)
|
In various places and code snippets, I see some people use strings, and some people use char arrays. I get the sense that the string object was created for new... |
Dec 11, 2021 at 11:08am
[25 replies] Last: I love sprintf. I love snprintf() even better! The snprintf funct... (by seeplus)
|
by abuh
please help me
|
i want function to inorder traversal code (non recurcive) for this code #include<iostream> using namespace std; struct node { int data; node* ... |
Dec 11, 2021 at 10:56am
[11 replies] Last: Much of the so called C++ code taught (and still available via the Int... (by seeplus)
|
How do I move a decimal? |
Hey guys Am trying to move a decimal towards the left side but to be am finding it so difficult. I know am supposed to do a multiplication or even a division b... |
Dec 11, 2021 at 9:22am
[8 replies] Last: You can use basic numeric operations to change the decimal values of y... (by Suffben)
|
by Freshman1234
Been Having a hard time with arrays
|
Write your question here. Hi im coding graphs and it keeps on saying its not constant Pu#pragma once #include <list> #include <iostream> #include <ve... |
Dec 11, 2021 at 9:20am
[15 replies] Last: https://www.geeksforgeeks.org/arrays-in-c-cpp/ : Please check the foll... (by Suffben)
|
by jude6363jr
Chapter 07 Rock-Paper-Scissors(-Lizard-Spock)
|
I have a program and I know there's probably a lot of mistakes so it may not be an easy fix but it's the thought that couts... Format: Your task is to modify... |
Dec 11, 2021 at 9:18am
[11 replies] Last: https://github.com/PragmaticWays/cplusplus1/blob/master/rock-paper-sci... (by Suffben)
|
by PonPon
Just started looking into C++
|
I want to make a simple game in C++ and maybe later use OpenGL for the graphics Are there any tutorials for C++ beginners? |
Dec 11, 2021 at 9:11am
[5 replies] Last: https://www.tutorialspoint.com/cplusplus/index.htm this the place you ... (by Suffben)
|
by bperdigao
compile a program
|
Hi! I need to compile a GitHub program but I don't know how to program. Could someone generate the .exe for me to use this program please? Thank you very m... |
Dec 11, 2021 at 9:09am
[11 replies] Last: https://stackoverflow.com/questions/19287273/c-how-to-create-an-execut... (by Suffben)
|
by donhenu
[MFC] How to read txt files words by words?
|
I am trying to read only txt file word by word. I succeed reading txt file and add whole contexts(txt file contexts) to listbox(m_list2). I want to use fscanf... |
Dec 11, 2021 at 9:07am
[2 replies] Last: https://www.geeksforgeeks.org/cpp-program-read-file-word-word/. I hope... (by Suffben)
|
by hardingrj21
Program terminates with no errors and no output
|
I am new to C++ (great fun so far) I am trying to get my code so that it will take a password from a user, validate it to the conditions for invalid, weak, medi... |
Dec 11, 2021 at 9:00am
[9 replies] Last: You can use an advanced IDE like Android studio to check which steps a... (by Suffben)
|