Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Member Avatar for jimbob90

MyTable: People who moved from Blah City, Blah State: Name Location Date Kids Jack LA 02/05/1999 0 Cindy Chicago 12/15/2005 2 Randy LA 06/19/2003 3 Jason Seattle 04/06/2002 0 1. Who moved to LA? [CODE] SELECT Name, Location FROM MyTable ORDER BY Location; [/CODE] Expected result: LA Jack, Randy What …

Member Avatar for BitBlt
0
103
Member Avatar for jimbob90

Here's my main [code=c++] int main () { int list1[3] = {5,5,6}; int num = 3; int result; int *arr = list1; int maxVar; int *maxVarHolder; maxVarHolder = &maxVar; result = sumarr(*arr, num, *maxVarHolder); return 0; } [/code] Here's the function header: [code=c++] int sumarr (int *arr, int size, int …

Member Avatar for mike_2000_17
0
228
Member Avatar for jimbob90

OK so I'm doing this assignment and i'm confuzzled: write a basic class, with a constructor, default constructor, setter and getter functions. This is what I got: [code=c++] class Car { private: int yearModel; string make; int mpg; public: Car(int, string, int); //constructor void setDefault(int, string, int); // def constructor …

Member Avatar for jimbob90
0
90
Member Avatar for jimbob90

[CODE=html]<div id="footer"> <p><a href="link.html">Link</a> <a href="link.html">Link</a></p> </div>[/CODE] Result: [u]LinkLink[/u] If I add a space in between <a href="link.html">Link and </a></p> Result: [u]Link Link[/u]

Member Avatar for almostbob
0
67
Member Avatar for jimbob90

This is a basic piece of code that write a couple of links to the webpage: in the xhtml file (1.0 Strict): [icode]<script type="text/javascript" src="file.js"></script>[/icode] in the file.js file: [code=JavaScript]document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>"); document.write("<p><a href="link1.html">Title</a></p>");[/code] The links aren't there, the titles are there, THERE IS NOTHING THERE!!!!! =/

Member Avatar for essential
0
125
Member Avatar for jimbob90

I haven't programmed in some time and need some help here plz. First of all how are individual characters of a string are accessed? second do they start at 0 or 1? I'm probably confusing this with arrays please help me out :). This program will read in a line …

Member Avatar for jimbob90
0
118
Member Avatar for jimbob90

for some reason my "right" appears lower than the "content" (center) but not the "left" [code=css]#box { width:900px; margin-left: auto; margin-right: auto; } #content { overflow: auto; width:600px; padding:0px; background-color:#fff; float:center; } #left { width:150px; padding:0px; float:left; } #right { width:150px; padding:0px; float: right; }[/code] my div structure div box …

Member Avatar for MidiMagic
0
66
Member Avatar for jimbob90

program read from cin what the user wants to do ("add" a name to list) or ("lookup" a name). in add just add whatever was read in to the file. in lookup print out a line of text with the string that wa read in. hopefully that makes some sense …

Member Avatar for deepglue555
0
176
Member Avatar for jimbob90

[code=c++] class tvShow { public: string name; string dayofweek; int lengthInMin; double rating; } [/code] write a sequence of statements that will do the following: If the show is scheduled for wednesday and the rating is above 20, print We Have a New Hit Show. if this is not true …

Member Avatar for ArkM
0
178
Member Avatar for jimbob90

im writing a program that adds up command line arguments, how can i account for a situation where there are no arguments at all? [code=c++] #include <iostream> using namespace std; int main(int argc,char *argv[]){ int answer = atoi(argv[1]); if (argc=='0'){ cout << '0'; } else if (argc == '1') cout …

Member Avatar for Freaky_Chris
0
74
Member Avatar for jimbob90

This program adds up command line args (all of them ints) [code=c++] #include <iostream> #include <fstream> using namespace std; int main(int argc,char *argv[]){ int answer; fstream a; for (int q=1; q > argc; q++){ a.open(argv[q]); } answer = argv[1]; //first error for (int k=2; k > argc; k++){ answer += …

Member Avatar for Freaky_Chris
0
123
Member Avatar for jimbob90

read in MYDATA (with a space) from cin and find MYDATA in the file, print the line if its there. The line is going to be MYDATA + string. [code=c++] int main (){ fstream filename; filename.open(av[1]); string name; getline (cin, name); lookeyLookey (name, filename); } void lookeyLookey (string& name, ofstream& …

Member Avatar for Ancient Dragon
0
95
Member Avatar for jimbob90

[code=c++] 4 char *min(char *a, char *b, char *c){ 5 if(strcmp(a,b) > 0) && (strcmp(a,c) > 0) 6 return a; 7 else if(strcmp(b,a) > 0) && (strcmp(b,c) > 0) 8 return b; 9 else 10 return c; 11 } [/code] Code won't compile and the irony is i just did …

Member Avatar for ArkM
0
3K
Member Avatar for jimbob90

I've got a blog up simply using html and css. what should i learn next, i want to add a comment feature stuff like that. my next project is going to be a forum wat languages are used to create forums?

Member Avatar for erico564
0
117
Member Avatar for jimbob90

im writing a simple program that turns a decimal to hex. im only posting the piece of code where i have the problems [code] string hexnumeral (int d) { int h,l; string e,y,f; if (d < 16) return hexdigit (d); else { f = d / 16; h = d …

Member Avatar for Ancient Dragon
0
98