Beginners - April 2020 (Page 11)

first time installation. getting error ld. exe cannot find -lsprite
 
I installed code blocks first time. I am using windows 10, code blocks version 20.03. When i am tryi...
[6 replies] Last: I tested my C:B 20.03 install, twice creating a new project. 1st usin... (by deleted account xyzzy)
Failed usage of functions under chrono header
 
I'm trying to get the time taken for a process to happen (from the start of the program until my cal...
[9 replies] Last: Thank you again for your help! (by kbklpl21)
while ((ch = getchar()) == ' ') equivalent in c++
 
I believe this is c code, so what is the equivalent of this line in c++? while ((ch = getcha...
[3 replies] Last: It's skipping spaces. When it finally reads a non-space, it returns th... (by dutch)
by pkdir
Reading fixed-format file (two delimiters)
 
I'm trying to read in a file that is in the format: name:project:specification. An example file: ...
[12 replies] Last: Yes that's the syntax, I also want to make sure it contains no invalid... (by pkdir)
How to read only what comes after the comma from txt file
 
I have a file that has several presidents' names and their party affiliation, like so; George Was...
[2 replies] Last: Thank you! (by aliciabilbao)
by sparki
C++ Pointer to pointer arrays
 
Hi guyz, So I am learning about the use of pointers to pointers, and I have implemented a program b...
[4 replies] Last: One more thing: int &temp = x; // temp is a reference, not a copy x =... (by keskiverto)
Recursive Function Reverse Integer
 
Assignment is to utilize recursive function to display a number in reverse. One function must output...
[7 replies] Last: #include <iostream> using namespace std; int swivel( int x ) { in... (by lastchance)
C++ Array of Linear Linked Lists (using different pointers?)
 
Hello - I am wondering if its possible to create an array of linear linked lists, with each list bei...
[2 replies] Last: They haven't said no... so maybe? (by confundido)
Question about ntqueryprocessinformation?
 
So I really don't have much of a point to doing this, really just playing around, testing etc. Real...
[11 replies] Last: ok i gotcha. That is nice little trick. ty for all your help. (by markyrocks)
Getting Significant Figures During Division
 
I'm trying to learn how to code and I decided to try and make a calculator. I've got everything work...
[1 reply] : I didn't bother to look at your "full code". Presumably first and seco... (by dutch)
by R0SsAN
Reading Memory for Anticheat
 
Hi, me and a friend of mine are doing an anticheat tool but we have some problems.. We wanted to cr...
[2 replies] Last: Sounds like Rossan already did look up OS documentation (ReadProcessMe... (by Ganado)
Question about elapsed time!
 
Hi, I have to create a project that tells you the time elapsed. Let's say you want to now the age...
[5 replies] Last: Use mktime() to compute the time_t that corresponds to noon on each of... (by dhayden)
I don't understand what my assignment is asking me to do?
 
Here is my assignment below: Design and write a C++ program that accepts input from a file and u...
[15 replies] Last: My previous post was just some context as to 'what the user sees'. You... (by booradley60)
Returning to beginning of while loop halfway through?
 
I need help with part of a vending machine assignment. If the user's chosen drink has run out, I ...
[5 replies] Last: Hello almostdone, Any time.Glad it worked out for you. Andy (by Handy Andy)
Can heap variables have an identifier?
 
I've always thought of variables stored in the heap as variables that can only be accessed (indirect...
[2 replies] Last: Hello anarelle, I have never really tried this, but I believe you cou... (by Handy Andy)
Nested structs and the usage of this
 
Suppose I have the following code: struct N { int a; struct NN { int b; }; }; Is...
[8 replies] Last: jonnin's answer is what I was looking for. Thank you! (by arczi w)
Raeding and searching byte array from file
 
Hi, I'm writting a simple code to find in wich offset of a given file there is an array of bytes. F...
[3 replies] Last: Yes, something like that. But you can move the find array outside the... (by salem c)
Priority Queue
 
I have a priority queue which I populate. Another function will pop its first entry, calculate a dep...
[4 replies] Last: Thanks for the clarification. Sounds like I need to read up on exactl... (by stoneJax)
if statements
 
i am trying to extract the values from filterData vector. I want to pull out the values and the inde...
[6 replies] Last: okay thank you that helps a lot (by jtek679)
Function not executing
 
Hi, both the compiler and debugger don't show any errors except the program only runs until when I c...
[9 replies] Last: Hi MikeyBoy, Because when I tried to print something in the loop noth... (by kbklpl21)
April 2020 Pages: 1... 910111213... 20
  Archived months: [mar2020] [may2020]

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