C++ Independent Study for Research Position Advice

In summary: I learn anything relevant.Just download "learn C++ in 24 hours" off of a torrent site or something and do the whole book. After that you should have a pretty good understanding of C++hm, I was thinking more of what topics were most prevalent to the topic of research I wanted. But Thank-You!Any other suggestions?No, that's all I can think of.
  • #1
Heisenberg.
68
0
Hey, I go to the University of Rochester, and I am currently entering my sophomore year as a physics major. Speaking to one of the physics department's staff members at the school, I was able to set up a research position with one of the professors in the astrophysics department. In order for this research position to actually occur, I have to have a "basic" knowledge of c++. I was then given the opportunity to learn this basic knowledge over the summer. Mind you my study of this will be unguided by University standards. So I bought a hefty book, downloaded c++ from bloodshed, found a university course online for an intro to c++, and I've been on my way for the past week. Now my question is (sorry for the long pre-amble), what in god's name does this woman mean by "basic"? Any idea on how much I am expected to know for a research position in the field of Astrophysics? The professor Alice Quillen, deals a lot with models of planetary and galaxy formation. Any ideas?
 
Physics news on Phys.org
  • #2
Heisenberg. said:
Hey, I go to the University of Rochester, and I am currently entering my sophomore year as a physics major. Speaking to one of the physics department's staff members at the school, I was able to set up a research position with one of the professors in the astrophysics department. In order for this research position to actually occur, I have to have a "basic" knowledge of c++. I was then given the opportunity to learn this basic knowledge over the summer. Mind you my study of this will be unguided by University standards. So I bought a hefty book, downloaded c++ from bloodshed, found a university course online for an intro to c++, and I've been on my way for the past week. Now my question is (sorry for the long pre-amble), what in god's name does this woman mean by "basic"? Any idea on how much I am expected to know for a research position in the field of Astrophysics? The professor Alice Quillen, deals a lot with models of planetary and galaxy formation. Any ideas?

Just download "learn C++ in 24 hours" off of a torrent site or something and do the whole book. After that you should have a pretty good understanding of C++
 
  • #3
hm, I was thinking more of what topics were most prevalent to the topic of research I wanted. But Thank-You!
 
  • #4
Any other suggestions?
 
  • #5
Heisenberg. said:
what in god's name does this woman mean by "basic"?

Why not ask her?
 
  • #6
I have already exercised that option. I sent her an e-mail, and she said that the professor went down to South America for a month. She said that it would be pretty hard to contact her since the Professor seldom checks her e-mail. I have yet to hear back, and I don't want to wait to long - for I want to be prepared for this as possible. Again this staff member is not a physicist- just a very useful women with strong connections in the department.

*not sure why I said "again this staff member.." I never said it in the first place, oops lol"
 
  • #7
How much programming experience do you already have? If any, what languages do you know best, and to what extent do you know them? This information will help me provide a more personalized response--I have a pretty significant programming background.

But my more general response is that it's not going to be of much use to try to figure out exactly what features of the language are "basic" and what features aren't. If you don't have much programming experience, it's far more important to learn the fundamental techniques and ideas of the discipline--which are independent of language--and to learn how to learn the language as you go.

A common saying among programmers is that a good programmer can pick up a new language relatively easily, although it may take some time to master the new language's nuances. This is true. As it happens C++ has an unbelievably huge number of nuances--you will absolutely not master it over a summer--but like any language it can be used (perhaps ineffectively) without mastery of the nuances.

Unfortunately, I am not even sure how I learned C++. It was the first language I learned, and I was 11/12 at the time. The books I used were, honestly, terrible, and I wouldn't recommend them. I know I struggled a bit, and I suspect I mainly learned through a vast amount of experimentation. It was hardy an optimal route. Plus I had no teacher--in fact no human guidance at all besides the bad books.

Consequently I am not up to speed on the best modern resources for picking up the language. I'm going to look into it, and I'll post here again--or edit this response--later.
 
  • #8
Thanks for your response zpconn. As of a little while ago: no programming background whatsoever expect for a few glances at v-python.

I currently have just finished learning I guess a 1st lectures worth of material: simple input output assignments, simple flow of control, simple if statements - like right now I am finishing up a an age calculator program where given what month it is, year, and how old you are- if you want to find out how old you will be in a specific amount of years and months from now it will find it for you - again simple stuff, I'm just not sure what to expect.
I don't even know what the research position duties would entail me to use the programming - again I am very new to this whole physics major thing. Feel like I'm groping in the dark at times - which was why I was wondering if anyone knew what programming they would expect of me for a beginning research position (im assuming it has to be on the simple side for undergraduates to be able to do it, and when I mean simple I just mean not unattainably impossible to understand.
 
  • #9
My list of "basic" stuff would probably look like this:

Arithmetic (including the functions in the math library: sin(), exp(), etc.)
Simple I/O using the terminal (consol) and using files
If-statements
Loop statements (while, for, do-while)
Functions and how to pass data to/from them
Arrays (actually I prefer vectors but I don't think they're used much in numerical work)

One area in which it would be really helpful to get some input from the professor, or at least someone who knows how she works, is whether she prefers the "C style" or the "C++ style" ways of doing certain things. For example:

I/O - C-style uses printf, sprintf, etc., and format specification strings; C++-style uses cin, cout, file streams, and I/O manipulators.

Character data - C-style uses arrays of char, and char* pointers; C++-style uses the 'string' data type and its member functions from the standard library (#include <string>).

Data collections - C-style uses arrays and pointers, C++-style uses vectors from the standard library (#include <vector>).

And that's even without getting into the object-oriented stuff in C++, or the more sophisticated features of the standard C++ library.
 
  • #10
ah thank-you very much! I already have a few of the stuff you mentioned learned, still a ways to go. In the end I'll just keep studying it till the time comes I suppose and hope it is enough.
 
  • #11
It should be. Even if not, just nod to whatever your professor suggests, and ask for advice on the Internet.
 
  • #12
Ah and then that is where physicsforums.com comes in, again thanks folks
 
  • #13
Last edited:

1. What is C++ Independent Study for Research Position?

C++ Independent Study for Research Position is a course or program that allows students to learn and practice advanced C++ programming skills in order to prepare for a research position in a scientific field. It typically involves studying the C++ programming language in-depth, as well as completing independent research projects or assignments.

2. Why is C++ Independent Study important for a research position?

C++ is a powerful and widely used programming language, particularly in the fields of science and technology. Having a strong understanding of C++ can greatly enhance a researcher's ability to analyze data, create simulations, and develop software tools for their research. C++ Independent Study provides the opportunity to develop these skills and demonstrate proficiency to potential employers or research supervisors.

3. What are the prerequisites for C++ Independent Study?

Prerequisites can vary depending on the institution or program offering C++ Independent Study. However, generally students should have a strong foundation in programming fundamentals and some prior experience with C++ or other programming languages. It is also recommended to have a basic understanding of data structures and algorithms.

4. How can I make the most out of C++ Independent Study?

To make the most out of C++ Independent Study, it is important to have a clear goal or research topic in mind. This will help guide your learning and allow you to apply your skills to a specific project. It is also important to practice regularly and seek guidance from mentors or experienced programmers when needed. Additionally, staying updated on advancements and new features in C++ can also be beneficial.

5. Are there any resources or materials that can supplement C++ Independent Study?

Yes, there are many resources available to supplement C++ Independent Study. These can include online tutorials, textbooks, coding challenges, and open-source projects. It can also be helpful to join online communities or attend programming workshops or conferences to connect with other C++ programmers and learn from their experiences.

Similar threads

Replies
19
Views
2K
  • STEM Academic Advising
Replies
9
Views
870
  • STEM Academic Advising
Replies
2
Views
1K
  • STEM Academic Advising
Replies
26
Views
2K
Replies
7
Views
1K
  • STEM Academic Advising
Replies
4
Views
2K
Replies
4
Views
1K
  • STEM Academic Advising
Replies
4
Views
792
  • STEM Academic Advising
Replies
1
Views
923
  • STEM Academic Advising
Replies
14
Views
672
Back
Top