473,466 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Well, I'd like some opinions on my code

Well, I'm auditing CS164 again. C++ part 1, basically. I'd like to know
if I can submit some code to the group and get some opinions, as the
instructor is not going to do anything more than let me sit in on
lectures. I don't have access to the labs, or anything she's got going
on, so I am going to try to go to the classes and come up with my own
ideas of what to code. The first project is a program that takes 10
names, and 3 grades for each name. It then is supposed to format a
table and display the names and the grades, and at the end the average,
like this:

//This program will take 10 student names and take 3 grades for each
person.
//Then the program will display a table of the student's names and
grades, followed by the averages.
//the table will look like this:

//Name Grade1 Grade2 Grade3 Average
//=========================================
//Jon 80 67 32 whatever
//Mary 90 100 79 whatever
//Donny 76 21 90 whatever
//Molly 90 89 78 whatever
// and so on...

Would that be ok with the group, or is this some sort of a breach of
etiquette? I'm not asking for anyone to do it for me(because I wouldn't
learn anything that way), but subtle hints and nudges are all I'm
looking for.

Xeys

Jul 23 '05 #1
4 1277
xeys_00 wrote:
Well, I'm auditing CS164 again. C++ part 1, basically. I'd like to know
if I can submit some code to the group and get some opinions, as the
instructor is not going to do anything more than let me sit in on
lectures. I don't have access to the labs, or anything she's got going
on, so I am going to try to go to the classes and come up with my own
ideas of what to code. The first project is a program that takes 10
names, and 3 grades for each name. It then is supposed to format a
table and display the names and the grades, and at the end the average,
like this:

[...]
Would that be ok with the group, or is this some sort of a breach of
etiquette? I'm not asking for anyone to do it for me(because I wouldn't
learn anything that way), but subtle hints and nudges are all I'm
looking for.


It's OK to submit code for review. Please do not post attachments. Try
to limit your posts to sensible number of lines (your projects should be
small, anyway, right?)

The community in general (AFAICT) would rather answer a particular C++
question than do code reviews, but that should not be a reason not to post
your code and expect some comment on it. Remember that there is also the
alt.comp.lang.learn.c-c++, which is may be more geared toward helping
learners than c.l.c++.

In any case, please prepare to be criticised.

V
Jul 23 '05 #2
On 14 Jun 2005 07:39:28 -0700, "xeys_00" <xe*****@yahoo.com> wrote:
Would that be ok with the group, or is this some sort of a breach of
etiquette? I'm not asking for anyone to do it for me(because I wouldn't
learn anything that way), but subtle hints and nudges are all I'm
looking for.


I don't mind ... lots of times I will learn something new from other
people's code, even from novices. As long as you don't want ready-made
answers, it should be OK. Just try to make sure that you can actually
compile whatever you post without any errors from the compiler.
Warnings are OK, but the less the better. We can help you get rid of
all the warnings eventually, too.

--
Bob Hairgrove
No**********@Home.com
Jul 23 '05 #3
By the way, I'm using Kdevelop for this stuff, and I am trying to type
out a "+" and all I get is the cursor selects the character to the left
of where I wanted the "+". Any ideas? I can't work on my code any more
today in this ide until I get this worked out.

Xeys

Jul 23 '05 #4
xeys_00 wrote:
By the way, I'm using Kdevelop for this stuff, and I am trying to type
out a "+" and all I get is the cursor selects the character to the left
of where I wanted the "+". Any ideas? I can't work on my code any more
today in this ide until I get this worked out.


Isn't there, like, an online forum for Kdevelop, or something? This NG
is for the _language_ discussions, not "how to use my IDE". Please find
a better place to ask about it.

V
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kari Laitinen | last post by:
During the past 15 years I have been writing computer programs with so-called natural names, which means that the names (identifiers, symbols) in progarms are constructed of several natural words....
5
by: Guess | last post by:
The situation is as follows: 1. I would like to serve a web page that takes considerable time to process. 2. While the page is processing, the client displays an appropriate wait message. What...
6
by: Lea | last post by:
Not only does my boss want to hide files from some developers, he wants to be able to hide different files from different users. We already use source control to ensure that people cannot check...
4
by: Chris | last post by:
Hi, I found this code that can solve a problem I have. It sends print direct to printer. Imports System Imports System.Text Imports System.Runtime.InteropServices ...
24
by: flkeyman | last post by:
Work in legal office. Trying to create solid designed database structure. This is list of tables w/fields and primary keys. Any comments/advice greatly appreciated. tbl-Defendants CaseNumber...
5
by: Kedar Agarkar | last post by:
: This is general query seeking opinions about COM+ Development wherein Server is developed in C# and Client accessing that across machines is also C#. Wish to seek experienced words on...
6
by: iclinux | last post by:
I have to build a GUI applicaiton that could run on different OS such as windows and *nix, which GUI toolkit is better? Best Regards.
5
by: wideasleep | last post by:
Hi Everyone, I have a design issue here (go figure) on a form and kind of need some opinions on how to do this. I have my ideas but need a 2nd, 3rd, 4th.......opinions. 1st I will have a combo...
5
by: JT | last post by:
Hi, I would like opinions on a shareware issue. If shareware uses an online database to hold registration codes, which get copied locally and therefore only needs to check online if the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.