hm lets see...5 minutes someone writing the program and me being very thankful or me doing it for 3 hours...hmmmmm
Type: Posts; User: DarkDot
hm lets see...5 minutes someone writing the program and me being very thankful or me doing it for 3 hours...hmmmmm
ah thank you
heres the error and the line it talks about
main.cpp: In function ‘int hash(std::string, int)’:
main.cpp:76: error: invalid lvalue in assignment
make: *** [main] Error 1
Can someone write me a program that just grabs random urls from the internet and places them in a list? It seems simple for someone who knows what their doing. Its just because i need a list of urls...
yea but i still have to copy and past it would be much better if i could just have a script or a list and not have to copy and paste it
i got it thanks for all the help i appreciate it.
yea the point is i don't want to type all of that
what do u mean? i temp is equal to 0 but yet c.digits[3] is 134489 for some reason. I thought i could get rid of that by making everything equal to 0 in c.digits.
i'd like to create a program to do it just have no idea what i'm doing maybe someone can hook me up or something? It would be appreciated beyond belief.
Hey i have a program and i overloaded the + operator and for this one set of numbers -888+-112 i get the wrong number, i ran GDB and this is what i get maybe someone can see why c is getting set to...
I've read about print formatting and still don't know what i'm doing. All i'm trying to do is print data that currently prints in a line straight down and make it print in a table form.
does anyone have a list of about 2000 urls, i need them for a project but searching google and copying and pasting each url is taking forever. Any help would be grateful.
Hey i have an addition operator overload but its not working. I used GDB to go through it and can''t figure out why its not working. Maybe someone can see why.
//addition operator overload...
I have a singly linked list that stores strings of names. Then there is a skip number. When it does is go through the list this amount of times removing the node it lands on and then printing it out...
nevermind i was missing & in my implentation how stupid. thanks for all the help guys.
ok thanks but now that i fixed that the error i now have is
/tmp/cc4e8nE4.o: In function `main':
main.cpp:(.text+0x1e56): undefined reference to `operator>=(BigInt const&, BigInt const&)'...
Basically i have an error that i can normally easily fix but i can't this time. Its really annoying i've spent so much time trying to figure this easy error out and can't locate it because there are...
thank you.
ok i forgot this time but that has no reference to my question. also i did the < operator and i get 2 errors and i don't know why
204 bool BigInt::operator <(const BigInt& a, const BigInt&...
Ok so i've read about doing this. I have this so far in my header file.
friend BigInt operator +(const BigInt&, const BigInt&);
friend bool operator <(const BigInt&, const BigInt&);
friend...
its for a project i need to use set
I have a few questions regarding sets maybe someone can answer them for me. First let me say i am trying to use a set to represent my hash table. First off i would like to know how to make a hash...
sclist.h
#ifndef SCLIST_H
#define SCLIST_H
#include "slnode.h"
template<class T>
class sclist
Ok I'm creating a template class for a singly linked circular list. I was wondering if someone could look it over and tell me if they see any errors. I had people here go over it and have spotted...
Basically i have 3 easy c++ programs i need completed. If someone does them i will host their website for free on my server indefinately. Right now i am just hosting devright.org so u can see the...