
please wait
by vaderboi
LNK2019 error that I can't figure out how to resolve
|
In my program, I am trying to create a program that places randomly generated integers in to a vector and then bubble sorts them. When I try to build the file I... |
Nov 2, 2018 at 8:38am
[7 replies] Last: If you remove pch.h then you need to set Pre-compiled header to "Not U... (by Thomas1965)
|
by vaderboi
Visual Studio editor thinks that my declared vector is actually a declared function
|
I am trying to create a class that, when instantiated in to an object, will place a number of randomly generated elements in to a vector. Right off the bat, the... |
Nov 2, 2018 at 4:57am
[6 replies] Last: Took your advice, CodeMonkey. I looked up member initialization in my ... (by vaderboi)
|
by m2020
how to split a square into smaller squares with equal size?
|
My question is if we have fixed size square how can we partition it to have say 4 or 25 smaller squares? square partitioning: https://drive.google.com/open?id=1... |
Nov 2, 2018 at 4:51am
[4 replies] Last: if you need to test the code above and this function to class Square_g... (by closed account SECMoG1T)
|
by merizak
function
|
i'm trying to display the first n numbers on the screen using function, i believe i did everything but it doesn't work what is wrong with this code?? #inclu... |
Nov 2, 2018 at 4:05am
[1 reply] : printAllIntegers doesn't return anything, so you can't "cout" it's ret... (by tpb)
|
Multiple defintion |
I'm working on my first multi file project and I'm getting multiple definition error on all my methods in one of my source files. g++ -c HuffTree.cpp [jk... |
Nov 2, 2018 at 4:03am
[8 replies] Last: We haven't seen testHuff1.cpp, either. I wanted to look at a zip of th... (by tpb)
|
by Moltain
Tic-Tac-Toe victory checker that scales with the table
|
HI, I'm having trouble making a victory checker that scales up or down with the table size automatically. It's suppose to have 4 check one on the horizontal, on... |
Nov 2, 2018 at 12:51am
[1 reply] : It seems overly complicated (what is a "win requirement?"). Here's a s... (by tpb)
|
Type Conversion Error |
Hi. I'm working on making a program for generating Huffman code. I'm using my version of a priority queue, which has already been tested. I'm getting a conversi... |
Nov 1, 2018 at 11:05pm
[3 replies] Last: findMin is returning a HuffNode but you are accepting it into a HuffNo... (by tpb)
|
by jeffery
my simple code not working and it seems Im blind
|
I found a code like this on the internet and compared it to mine, saw he added & so I did too, but still not working, I tried his and his is working but mine no... |
Nov 1, 2018 at 9:53pm
[2 replies] Last: well Im stupid, thanks :) (by jeffery)
|
by Tduck
Note: Containing loop
|
This code compiles and runs, outputs what I want, but still produces an error. From what I understand this is undefined behavior, but to me this all seems pret... |
Nov 1, 2018 at 9:00pm
[4 replies] Last: Yes Actually, you can do better. Each pass puts another "sorted" one ... (by lastchance)
|
by lillied
While loop catching error that isn't there?
|
I have a validation loop that's supposed to check that a string is an integer, and it works the first time I run through the bigger sentinel loop, but in each i... |
Nov 1, 2018 at 7:18pm
[3 replies] Last: thank you so much! (by lillied)
|
by badfish2
File Reading and Sorting
|
I am trying to read a file with three columns and 1,000,000 rows of data and display the highest and lowest value along with its associated time and ampere. I a... |
Nov 1, 2018 at 7:08pm
[10 replies] Last: Yes it is the first line in the text file, but I confused as to why I... (by jlb)
|
my bubble_sort doesn't work correctly |
I have here a Bubble Sort algorithm implemented, from pseudo code from this site: http://faculty.cs.niu.edu/~hutchins/csci241/sorting.htm But the last elemen... |
Nov 1, 2018 at 6:46pm
[4 replies] Last: Thx, what a lapse, I could't even interpret some pseudo code ;) (by nuderobmonkey)
|
by CBHero1
OpenGL32-d.lib Not found
|
I have downloaded a Visual Studio project file from YouTube in hopes of editing and deciphering to help get started with SFML and OpenGL. The entire project fol... |
Nov 1, 2018 at 6:36pm
[5 replies] Last: Glad to help. Jpeg is ... interesting in and of itself, and also wher... (by jonnin)
|
by CTheBaptist
Quick Sort Method in C
|
Hey, so I had to implement a quick sort method I found online into my existing code. Got it compiled and for some of the values it does sort but not all. I was ... |
Nov 1, 2018 at 4:52pm
[6 replies] Last: Regardless of which sorting algorithm you use, it would make sense to ... (by lastchance)
|
Segmented sieve(Sigfpe) |
Finally understood segmented sieve and made it work. But on spoj I am getting sigfpe. I can't figure out why this is happening. Question link: https://www.spoj... |
Nov 1, 2018 at 4:22pm
[5 replies] Last: After using bool nothing is coming in output :( #include<iostream> #... (by closed account 1vf9z8AR)
|
Problems during validation set and source file not compiled |
Problem (1) Hello. Everytime I open up Dev-C++, it states the following problems were found during validation of compiler set "TDM-GCC 4.9.2 32-bit Debug": an... |
Nov 1, 2018 at 4:11pm
[1 reply] : Is that where your program is installed ? Uninstall and re-install it ... (by SamuelAdams)
|
by shahzamaaan
Printing a Dimond patteren with numbers
|
Hi I'm new to programming I had to complete a task to print a diamond with numbers i did all the logic's but cant seem to figure out the spacing it dosen't make... |
Nov 1, 2018 at 4:01pm
[1 reply] : First, if you use code tags and format your code you'll get a response... (by SamuelAdams)
|
by Awsom3Alan3
Need help with running a program.
|
I have to run a program that has a total of three files. //A header file. Student.h //A cpp file. Student.cpp //A main file. main.cpp My professor did men... |
Nov 1, 2018 at 3:17pm
[4 replies] Last: Read: http://www.cplusplus.com/articles/Gw6AC542/ http://www.cplusplus... (by keskiverto)
|
by MrV
Setting vectors sieze
|
hello, how do i set the size of vector in the class, that later i could assing value 0 to it using constructor, Its a task from the book: The class should prov... |
Nov 1, 2018 at 3:13pm
[5 replies] Last: Note that you probably can't return the actual number from fullNumber(... (by dhayden)
|
Cpp VCL: How to use TCustomDBGrid::Options? |
Hi I have a TDBGrid::DBGrid1, Im trying to change its options property TCustomDBGrid::Options via code, not interface. image: https://i.imgur.com/Ha0J2Nj.png W... |
Nov 1, 2018 at 1:17pm
[no replies]
|