Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~10.0K People Reached
Favorite Tags
Member Avatar for garu525

Hello I have a homework question and although I'm not looking for someone to answer this for me, a guide would be appreciated from senior programmers here. > A disc can transfer only one 512 byte block with each access. Student records are 80 bytes longs, are to be organized …

Member Avatar for Rashakil Fol
0
79
Member Avatar for garu525

Hello, I'm working on an assignment right now and I need some feedback. My project is to implement a graph that uses an adjacency list like an Edge list. I'm fairly new with these and I would apprecite if anyone can see my code if I'm on the right track. …

Member Avatar for mrnutty
0
279
Member Avatar for garu525

Hello, I need some advice on how this function outputs the left zeros so everything will be even at 16 bits [CODE]string conv (int num, int base) { if (num == 0) return "0000000000000000"; char NUMS[] = "0123456789ABCDEF"; string result = ""; do { result.push_back (NUMS[num % base]); num /= …

Member Avatar for histrungalot
0
140
Member Avatar for garu525

I'm having an error "a value of type "double" cannot be used to initialize an entity of type "double *" Any tips? Thanks! [CODE]#include <iostream> #include <string> using namespace std; struct sample { string name; double *num; unsigned elements; }; int main () { sample x = {"Dude", [COLOR="Red"]{1, 2, …

Member Avatar for garu525
0
5K
Member Avatar for garu525

Good day to all, I'm doing a project about inverse permutations from an array of permutations. It's my first time coding on permutations so I don't have any experience on this. So I came up with a solution to just swap the array and the element number as the inverted …

Member Avatar for mbundgaard
0
937
Member Avatar for garu525

Hello, what's the best way to sort a string to ints & chars. For example: "John Doe M 36" to John Doe (char[]) M (char) 36 (int) I researched about istreamstring sin(), but I'm not yet fully familiar with it, any tips. Thanks!

Member Avatar for Duoas
0
179
Member Avatar for garu525

Hi, I'm writing a program that checks parens/brackets/braces if they are paired. Tha catch is I have to write my own stack functions, this is my code so far, it used to work when I was working with just the parentheses, now that I added more options it's not working …

Member Avatar for garu525
0
165
Member Avatar for garu525

When I click on any of my menu bar, the menu wont expand or sometimes it does but missing some. I tried reinstalling and resetting it but it still doesn't work. Please help. Thanks. I attached a print screen of the problem.

Member Avatar for barnum
0
318
Member Avatar for garu525

Hello, I'm making a simple C calculator using only getchar and putchar functions, my program works only if the arithmetic is entered correctly but if it's not, I can't make the proper error checking on it if the arithmetic is enteres improperly. EXAMPLE: 4 + 7 = 11 =====> Works! …

Member Avatar for WaltP
0
712
Member Avatar for garu525

Hello, I'm starting to learn Java and this one of my homework but for some reason it won't run. My algorithm is to just add all 1-1000. I highlighted the part that's causing a problem in red. Please help, thanks! [CODE] import java.util.*; public class thousand { static final Scanner …

Member Avatar for garu525
0
155
Member Avatar for garu525

I wrote this string palindrome program that reads input from a text file. All the syntax are correct but I have an error I couldn't understand. Any help is appreciated, thanks!!! First, this is the error message: [B]Error 1 error LNK2001: unresolved external symbol "char * newToCheck" (?newToCheck@@3PADA)[/B] And this... …

Member Avatar for garu525
0
167
Member Avatar for garu525

Hello, I'm trying to create a program that reads data from outside file using functions. My goal is to get data from an outside file, and use that data for other functions that i havent created yet. this is my code so far but it wont read and giving me …

Member Avatar for WaltP
0
167
Member Avatar for garu525

I would like to program that reads a file with 6 lines that have 7 numbers on each line. The output should save a file with sum, average, max and min of each line. For now I just have to figure out how to get the max and min numbers …

Member Avatar for garu525
0
284
Member Avatar for garu525

Hey guys, I'm wondering if you can help me out on my problem. I wrote this code to print out consecutive numbers till it reach the maximum number entered. The code works but I want to control the output. Here's my code so far... [CODE] cout << "Enter max number: …

Member Avatar for garu525
0
106
Member Avatar for Aali167

Hello everyone. I am going go to university and I have to choose a subject to do but I am not sure which course I should do. Its either computer science or software engineering. I have done some research but am still not sure what to do. I have also …

Member Avatar for garu525
0
168
Member Avatar for garu525

I'm starting to learn the Pep/8 simulator. Do you know where i can find some tutorials? Thanks.

Member Avatar for garu525
0
578
Member Avatar for davebrown2242

I have to turn in a project in my beginer C++ class in two days time and I am totally stuck. The project is to promt a user for an integer (between 1>=num<1000); Tell if that number is a prime number ( if not find a way to show the …

Member Avatar for garu525
0
174