11 Solved Topics

Remove Filter
Member Avatar for frogboy77

1. When posting a link, how do i make my link look like [COLOR="Red"]here[/COLOR] instead of [url]http://blablabla?[/url] 2. When quoting someone else, how do i let people know who i'm quoting? 3. How do i create a link like this?[URL="http://www.daniweb.com/community-center/geeks-lounge/threads/341464"]http://www.daniweb.com/community-center/geeks-lounge/threads/341464[/URL]

Member Avatar for sania85
0
845
Member Avatar for frogboy77

Hey there. I'm trying to figure out how to subtract one array of integers from another. I have figured out how to add 2 together going digit by digit and carrying over. I have no idea how to go about subtracting one from another. Basically i want to do simple …

Member Avatar for frogboy77
0
208
Member Avatar for frogboy77

Can anyone tell me how to find the maximum value for a specific variable(i.e int, long long int, double)? Also is there a way to set a variable to this value(without knowing it and typing it in)? Using Dev C++. Any help appreciated.:)

Member Avatar for frogboy77
0
90
Member Avatar for frogboy77

Can anyone tell me if it is possible to set a value in an array to infinity and if so how to go about it? Thanks.

Member Avatar for frogboy77
0
75
Member Avatar for frogboy77

in my code i have declared [CODE]typedef signed long long int slong; const slong limit=4000000; const slong limitsqr=2000;[/CODE] i then created an array [CODE]slong* array=new slong[limit];[/CODE] without any problem. when i try this [CODE]slong* newarray=new slong[limitsqr][limitsqr];[/CODE] i get the error message: in function int main() cannot convert slong(*)[2000] to slong …

Member Avatar for frogboy77
0
123
Member Avatar for frogboy77

Hi, new to this so go easy. I'm trying to store a function i wrote in a file and call it with a header file rather than copy and paste as ive been doing but i keep getting error messages from the compiler. Can anyone point out what i'm doing …

Member Avatar for frogboy77
0
140
Member Avatar for frogboy77

How do i create a large array in c++? Apologies if this has been answered already but after searching didn't find what i was looking for. i want to create an integer array of size 1500000 i.e int array[1500000] but my compiler wont allow it. I remember seeing something about …

Member Avatar for frogboy77
0
322
Member Avatar for frogboy77

Sorry if this is repetative but still struggling with this. i wish to multiply 2 long integers together. if the result is outside of int64 range i want the loop to break otherwise i want to keep the result and increment the second number. have tested this, but when the …

Member Avatar for frogboy77
0
119
Member Avatar for frogboy77

Hi, total beginner here, trying to learn at home. Just thought i'd get that in. if i have a number eg 123 trying to figure out a way of calculating all the possible cominations 123 132 213 231 312 321 can do it with pencil and paper but don't know …

Member Avatar for frogboy77
0
84
Member Avatar for frogboy77

Hey there. Just beginning to learn c++ on my own(not easy). Please fogive my lack of knowledge. I have a list of large numbers(50 digits) that i copied. I want to split them into an integer array of size [100][50]. I dont want to have to go through and put …

Member Avatar for frogboy77
0
128
Member Avatar for frogboy77

Hey there folks. New at this so forgive any mistakes, first post. I'm beginning to learn c++. Not so easy. After reading a few threads went to project euler. Problem i have is problem 3. " The prime factors of 13195 are 5,7,13 and 29. What is the largest prime …

Member Avatar for frogboy77
0
723

The End.