maccard's Profile
Reputation: 1
Apprentice
- Group:
- New Members
- Active Posts:
- 6 (0.01 per day)
- Joined:
- 14-March 12
- Profile Views:
- 50
- Last Active:
Mar 16 2012 01:26 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Usage of delete operator
Posted 16 Mar 2012
Hezekiah, on 16 March 2012 - 03:47 AM, said:Ignoring the syntax errors, you have to do something with the return value of Foo():
int* c = Foo(x, 5);
Then when you're done, delete x and c:
delete[] x; delete[] c;
Edit:
Quote
Do I then have two instances of the array c?
No, there is only one array, even though you may have different pointers to it (Foo()'s c, which has been destroyed, and the other c).
Edit 2: Actually, you have 2 arrays. One pointed to by x and one pointed to by c. You create a new array each time you call new[].
Apologies about the syntax errors, coding on a phone with spellcheck is difficult! This is exactly what I was wondering. Although, I have one more question
int x = 1; int *y = new int[10] int *l = foo(y, 10); delete [] y; //declaration of foo int* foo(int* b, int n) { int* y = new int[5]; //do some stuff return y; }
Apologies about the syntax if I made a mistake, in on a train.
Surely, calling delete y is going to cause havoc, if I wan to use my y from above? -
In Topic: Usage of delete operator
Posted 16 Mar 2012
Okay, but what about
int * x= new int[5]; // initialise x here Foo(int* x, n); ///declaring foo here int* Foo(int* b, int n) { Int* c = new int[n*2]; For( I = 0; I < n;I++) c[i] = b[i]; c[i*2] = b[i] return c; }
Do I then have two instances of the array c? -
In Topic: Big Company vs. Small Company for Freshman Summer Internship?
Posted 15 Mar 2012
ct456568, on 15 March 2012 - 09:48 AM, said:I guess I was lot like you when I applied to these companies. I just applied all over (big and small companies), and now that it's time to choose, I'm stumped too. I'm not really sure how a "development internship" differs from other internships, but yes, the official title of the JPMorgan internship is "Technology Summer Internship Development Program". How does that figure into all this?
I meant was it development, or was it admin/banking etc, as if it was to do with investments, it wouldn't be much good to your CS skills.
Quote
I'm not against mobile development in itself, and I've never tried it before. It's just that the stuff that I would be working on, applications in C# for the Motorola (ES400 I think?) devices used by warehouse workers, doesn't strike me as very interesting, or very applicable outside of Reddwerks. I could be wrong though; that's just my impression.
Ah, now that sounds quite different to the mobile I was thinking, I have to admit.
Unfortunately, you're not going to know whether you've made the right decision until you start in your choice.
For your first internship, the specifics of what you're working on aren't going to tie you down. No matter what you choose to do, It's going to be applicable. For instance, I worked in web dev last year, loved it, but don't want to work in it as a career. Still though, I learned a lot from that job (how to actually read the documentation, I mean READ it, not just look at it blankly and expect something to happen.) that on it's own was worth it, even though I'm never going to touch web development for a while.
The way I see it is, reddwerks will probably give you some seriously helpful knowledge, but alot of the stuff you'll never use again. It seems like it would be a cool place to work, and that it would benefit you hugely. The downside is you mightnt be working on something you enjoy doing.
JP morgan is a tough one, you're taking on something that you're not sure of yet. It'll look great on your cv, but who's to say you're going to be working on something you enjoy? You'll learn alot about working in a company, with lots of people, and hopefully some skills on the way, but I wouldn't bank on it really (excuse the pun.)
If you don't like what you're doing in reddwerks, you could always ask to try something different, that's the big advantage of a smaller company.
3 things,
1) i'm just a stranger on the internet, so don't feel compelled to take my advice,
2) I ignored the third company since you were so dismissive of them in your first post, seemed like you didn't actually want to work there anyway
3) No matter which one you take, you're going to have a blast. You're going to learn, and hopefully have fun, so what it boils down to is do any of them interest you in the future, and which work do you think you'd enjoy? -
In Topic: Big Company vs. Small Company for Freshman Summer Internship?
Posted 15 Mar 2012
ct456568, on 14 March 2012 - 08:18 PM, said:It sounds like you had already sort of decided on the smaller company from the beginning. Which companies were they, if you don't mind me asking?
I had and I hadn't. I applied for the bigger companies and the smaller companies all at the time, and when I got the offers I was stumped. The big ones were MS and IBM.
Quote
The tricky part about my situation is that I really don't know what JPMorgan Chase has in store for me as an intern. They say they can't tell me the details until April, by which time I will have to have decided already. Reddwerks, while it seems like an enjoyable place to work, is really only offering me the option to work on mobile app development, which I can't say I'm all that interested in. Of course, it beats making coffee, if that's all I would be doing at JPMorgan.
I can't comment on JPMorgan, let me get that clear before I start. My point was that you're far more likely to be doing something like that in a larger company that just want to sieve the brightest from the bunch(pro tip, if you're shortlisted, you're already in there). Freshman is first year, yeah? (I'm from europe) If you're a first year in college, and already have two offers like this in front of you, I wouldn't worry about down the line.
Why did you apply to Reddwerks, and JPMorgan? Is JPMorgan a development internship?
Why are you against Mobile Development, have you tried it yet?
As a first year, you're in an awesome position. I'm not sure what to say other than the above, and this:
If you take JPMorgan, the name will look awesome on your CV, especially for next year. It also means that you may end up back in banking next year.
If you take reddwerks, you'll probably learn a huge amount very quickly, and be in a very good position starting back in second year(whatever you guys call it).
I worried that rejecting one of the offers would hurt my chances of employment with that company, but a well worded letter seems to have sorted that out.
tl;dr: Big name looks good, but will probably lead you back there next year. Small company learn lots, less of a chance of mucking up a big company next year(althoug with a GPA like that, I doubt that's a problem) -
In Topic: Big Company vs. Small Company for Freshman Summer Internship?
Posted 14 Mar 2012
I was in a similar situation to you about two weeks ago. I had two big firms offering me internships, and one smaller. I decided to take the smaller company, mainly because it was what I wanted to do. The reason I was struggling to choose was because I didn't want to turn down the offers from the bigger company. Also, I wouldn't take pay into account for this. What good is it going to be if you end up making coffee for the summer?
When I chose it boiled down to:
Which of them do I want to work at more?
Which interview process challenged me the most?
Which do I think I'm likely to be most challenged in?
Which will I enjoy most?
Remember that in a big organisation, you might be shunted into some position doing the same grunt work over and over again all summer, but in a smaller company, you could very well end up making a contribution on the product itself, something which feels great!
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
maccard hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
maccard has no profile comments yet. Why not say hello?