Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
40% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
3 Commented Posts
0 Endorsements
Ranked #4K
~7K People Reached
Favorite Tags
c++ x 33
c x 22
java x 8
php x 8

49 Posted Topics

Member Avatar for drjay1627

people in the forum who have jobs or who are recruiters or own a company (yes I'm referring to people such as sergey brin and lawrence page); what advice would you give to an entry level computer science student about what to put on resume and cover letters. i'm looking …

Member Avatar for AliyaDesouza
0
144
Member Avatar for drjay1627

Hello, I need some help sorting out this error: *Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/new/Archive/phplogin/includes/main/header.php:3) in /Applications/MAMP/htdocs/new/Archive/phplogin/register.php on line 71* I've included the code below, can someone please help me figure this out. I've been working om this issue for 4 hours …

Member Avatar for diafol
0
199
Member Avatar for drjay1627

Hello, I am building a blog - just to shapen my skills. Since leaving college I feel like I have been loosing my programming edge. I work in IT and I primarily work on Oracle databases as a developer. Here is what I am building - a blog. I have …

Member Avatar for mschroeder
0
198
Member Avatar for drjay1627

Hello, I created 2 lightboxes on my page. When I just had one, everything worked fine. The 2 lightboxes are not displayed at the same time. There are 2 links that open each respectly. <a href="#" class="lightbox1">Open box 1</a> <a href="#" class="lightbox2">Open box 2</a> The following is the HTML/CSS: <div …

0
106
Member Avatar for drjay1627

Hello, I have a simple form. <form action="" method="post"> <label for="user">Name</label> <input type="text" name="user" id="user" /> </br> <label for="title">Title</label> <input type="text" name="title" id="title" /> <textarea name="body" rows="20" cols="60"></textarea> <input type="submit" value="Add Post" /> </form> I am trying to insert this to a table, which I am able to do. But …

Member Avatar for ko ko
0
151
Member Avatar for drjay1627

Hello, I have a menu in a webpage. I am looking to make the code reusable for another page, that way I can manage the links in one place rather than multiple page. Anyone know a way to do this? Thanks Drjay

Member Avatar for JorgeM
0
134
Member Avatar for drjay1627

Hello, I need some help with understanding floats. I have a div named holder, which as the name suggest, is a holder. Inside this holder I have 2 containers. One is the left container and the other is the right container. HTML <div id="holder"> <div id="contentleft"> <p>This is a paragraph. …

Member Avatar for gabrielcastillo
0
158
Member Avatar for drjay1627

Hi, I have this requirement that I have been trying to solve for a couple of days now. I have this source DB. The objective is to extract data from this source DB and insert into a oracle table. The meta data for both tables are the same (1-1 mapping). …

Member Avatar for masijade
0
186
Member Avatar for bangla

You cannot update (or insert/delete -- DML operations) a view. You can update a table, which will reflect on the view.

Member Avatar for hfx642
0
78
Member Avatar for drjay1627

Hello, I want to create an application that can make selections from a webpage. I did an assignment for school and now I want to extend my program. The assignment was to parse a webpage and display the data. The webpage's exact URL was given to us. The URL was …

Member Avatar for drjay1627
0
160
Member Avatar for drjay1627

Hello, Is there any way of checking all elements in a queue without calling pop(). [code] while(!q.empty()){ cout << q.front() << endl; q.pop() } [/code] this is essentially what I have done. There is a bug in my program and I'm trying to check what is wrong. I don't want …

Member Avatar for vijayan121
0
128
Member Avatar for drjay1627
Member Avatar for drjay1627

I need help with inserting a string for both key and value to a map. [code] while(!myHuffFile.eof()){ string word, code; int freq; myHuffFile >> word >> freq >> code; if(word == ""){ break; }else{ _fileMap.insert(pair<string,string>(word,code)); _freqMap.insert(pair<string,int>(word,freq)); } } [/code] error: error: conversion from `std::_Rb_tree_iterator<std::pair<const std::string, std::string> >' to non-scalar type …

Member Avatar for drjay1627
0
440
Member Avatar for drjay1627

Hello, My friend and I are trying to program a basic 3D modeler. Nothing fancy just a very basic program. I was wondering if anyone here could help me with reading material. We need to figure out the math and that is what I can doing now. Any good books …

Member Avatar for BountyX
0
81
Member Avatar for drjay1627

Hello, I need to compare arrays in perl. Now the arrays are arrays of strings. The strings are similar to the following pattern: user:user@machinename.domain.com There are 4 machines. M1 M2 M3 M4 There are 4 arrays and each with a bunch of users. some users appear on multiple machines. I …

Member Avatar for d5e5
0
119
Member Avatar for drjay1627

My friend and I are working on an Internet bot. We want to make a bot that given a website, would index into a table. Example -- Given the website: [url]www.daniweb.com[/url] Add to table: [url]www.daniweb.com/c++[/url] [url]www.daniweb.com/c++/forum[/url] [url]www.daniweb.com/java[/url] etc... Any suggestion on how to do this?

Member Avatar for digital-ether
0
304
Member Avatar for Saadulla

so a newbie: start here [CODE] #include <bitset> #include <cstdlib> int main(){ // you will need some sort of a loop for (int i =0; i < 5; i++){ // go from 0..5, you could even use a while loop or a do-while loop // here you generate number using …

Member Avatar for Saadulla
0
135
Member Avatar for calypso&noname

Just out of curiosity, how do you stop the while loop with control+z? --drjay

Member Avatar for drjay1627
1
157
Member Avatar for drjay1627

can someone please explain to me how read write work in sock programming. my assignment is to run a server and client. the client ask the server "who are you?" and the server replies with the servers name and date and time. i cannot post my whole code here as …

Member Avatar for dkalita
0
242
Member Avatar for drjay1627

What are names starting with the ":", are they variables, constants or something else? drjay

Member Avatar for Kevin_poison
0
112
Member Avatar for drjay1627

anyone here know lisp? i'm trying to code a trie in list. i know what to do as i already did it in ruby and python. i just need some guidance with doing the same. reply to this thread if you know lisp or contact me directly at< snipped email> …

Member Avatar for tdeck
-1
91
Member Avatar for drjay1627

I have a recursive function. My base case is: [code] somemethod(somelist) [INDENT]if len(somelist) == 0[/INDENT] [INDENT][INDENT]return[/INDENT][/INDENT] ... [/code] This is suppose to return the function to the place where it was called from. [code] main() ... somemethod(somelist) ... [/code] But I get this error: AttributeError: Trie instance has no attribute …

Member Avatar for jlm699
0
97
Member Avatar for drjay1627

hello, I wanna create a struct in python. the struct needs to have a char and an array of chars. eg. (ruby code): [code] Somestruct = Struct .new(:character, :characterArray) structure = Somestruct.new(" ", []) [/code] How do I do this. I made a Trie in ruby and now I wanna …

Member Avatar for scru
0
139
Member Avatar for drjay1627

Follows, I need some help with fixing a bug in my program. I can't post the entire code here as its an on going assignment. I'm building a Tree in Python. [code] class Tree: def __init__(self, f, r): self.first = f self.rest = r [/code] This is my Tree. I …

Member Avatar for woooee
0
119
Member Avatar for drjay1627

i'm a java c/c++ person. trying out ruby for the 1st time! how do i do something like this in ruby: [code] //this is java public static void main ( String args [] ) { File inFile = new File ( args [ 0 ] ); File outFile = new …

Member Avatar for ~s.o.s~
0
207
Member Avatar for drjay1627

I'm trying to code a Trie in Python. Any suggestions as to where I should begin? drjay

Member Avatar for jlm699
0
111
Member Avatar for drjay1627

does anyone know erlang here. i really need help with this one. for starters how do you ran a program?

0
83
Member Avatar for blueman

I don't really understand the question. Post the project, we might then get an idea of what is required.

Member Avatar for JeoSaurus
0
98
Member Avatar for Peyton

I think you are not cout-ing properly. Copy-paste the entire output or exactly which cout statement out do you have here?

Member Avatar for ArkM
0
109
Member Avatar for guest7

3000 lines? are they all in main()? If that is the case that is your 1st problem. 3000 lines or 30,000 lines want matter if you break the code down. Get into the habit of writing smaller methods. I usually try to keep my methods as simple and small as …

Member Avatar for drjay1627
0
115
Member Avatar for drjay1627

hey can someone suggest the best way to get the list of files in a directory. i only need files no need directories. given a folder, i want to write a program that gets all the files in it. its part of a much bigger program. appreciate any help. many …

Member Avatar for jephthah
0
115
Member Avatar for drjay1627

how do i concatenate a an array. This is the code. [code] char data [128]; char c, s, l; char *cmd_array [128]; count = 0; char * pch_W; pch_W = strtok ( inbuf, " " ); while ( pch_W != NULL ) { cmd_array_W [ count ] = pch_W; pch_W …

Member Avatar for drjay1627
0
167
Member Avatar for drjay1627

this is a general question. do you think that a bandwidth estimator can be used to measure the bandwidth and optimise a users video viewing experience. in other words, if i have a 56k connection can i still watch youtube or for that matter a live stream? of course if …

Member Avatar for cwarn23
0
73
Member Avatar for drjay1627

I doing this server and client program. The sever has to output to the client. [code] strcpy ( outBuf, " " ); sprintf ( outBuf, "cylinder: %d Sector: %d\n", cylinders, sectors ); if ( write ( client_sockfd, outBuf, strlen ( outBuf ) + 1 ) < 0 ) { perror …

Member Avatar for drjay1627
0
102
Member Avatar for drjay1627

I'm looking for some help resolving the following warning... warning: format ‘%c’ expects type ‘char*’, but argument 6 has type ‘char (*)[128]’ [code] char data [ BLOCK_SIZE ]; sscanf ( inBuf, "%c %c %c %c", &mode, &c, &s, &data ); [/code] essentially what happens is inBuf is a 'string' and …

Member Avatar for skatamatic
0
166
Member Avatar for drjay1627

[code]int c, s; sscanf ( inBuf, " %d %d", &c, &s ); [/code] I wanna check if c and s are actually int. suppose if you enter a letter rather than a number, how do i check? drjay

Member Avatar for drjay1627
0
74
Member Avatar for drjay1627

Hi, I did a project a while back and as the grading TA insist on it compiling on Solaris. I have a 0 for a perfectly working project. Can someone please help me with getting a program to compile on both the free free bsd and of course annoying Solaris. …

Member Avatar for drjay1627
0
81
Member Avatar for drjay1627

just out of curiosity (definitely not because i have a deadline tonight lol) how does a plagiarism detecting software work? any ideas? i'm pretty sure the program compares run time... for example if i create an array in main [code] main(){ //create array and add numbers } [/code] then in …

Member Avatar for tux4life
0
103
Member Avatar for drjay1627

if we use queue from c++ stl, we don't need //void enqueue(struct queue *q, int a) //int dequeue(struct queue *q) functions? my TA has it on the slides but since the c++ queue has push and pop enqueue and dequeue isnt needed, right?

Member Avatar for drjay1627
0
69
Member Avatar for drjay1627

I want to read a file character by character and add to an array. [code] while(!feof(inputfile)){ chKey = getc(inputfile); for(int i = 0; i<=51; i++){ chKey = enc[i]; } }[/code] Since there isn't like a add() function, how do you move the position by 1 and add something to an …

Member Avatar for drjay1627
0
106
Member Avatar for drjay1627

The following is a project description of a project that I have to complete: Write a shell-like program that illustrates how UNIX spawns processes. This program will provide its own prompt to the user, read the command from the input and execute the command. Let the shell allow arguments to …

Member Avatar for drjay1627
0
147
Member Avatar for drjay1627

hey, given one side and an angle how do you calculate the other sides and angles in a right angle triangle in c++. I'm basically looking for an algorithm. Thanks drjay

Member Avatar for StuXYZ
0
112
Member Avatar for drjay1627

I'm doing a OS class. Trying to implement this pseudo code: * Forking is fun! ­ Simple tips First, fork the child process: pid_t ForkPID; ForkPID = fork(); Then write a quick switch statement! switch (ForkPID) { // ­-1, fork failure case ­-1: printf("Error: Failed to fork.\n"); break; // 0, …

Member Avatar for drjay1627
0
143
Member Avatar for drjay1627

I'm working in a project and part of it is to do a small encryption program. W can use substitution encryption where each character is substituted by another pre-determined character. Can someone kindly help me with an algorithm. I just can't think any more! Thanks drjay

Member Avatar for drjay1627
0
161
Member Avatar for drjay1627

I small maze game and I got a key Listener. I got it to work. The problem I have is that i have a text box in the gui and Key Listener is added on to the that. but I want to set it so that when the window is …

Member Avatar for Ezzaral
0
132
Member Avatar for drjay1627

I made a maze game. When you click the button, a navigator is created. But before you create a navigator, if you try moving the navigator, there is a null pointer exception. since the navigator can be moved by pressing keys on the keyboard, I want an error message to …

Member Avatar for drjay1627
0
85
Member Avatar for drjay1627

I have string and a map<string,int> i need to iterate through the map and find string[i] and replace the int with the string. eg: if map contains hello 6 world 4 its 3 me 60 if the string is "its me hello world world hello" output should be "3 60 …

Member Avatar for ArkM
0
128
Member Avatar for drjay1627

I encode a text file using a huffman tree. Which print out to the screen and and output to a file. File only contains the last line that prints to the console. [code]void traverse(string code = "") const { string outputFile = "huffman.txt"; ofstream outfile(outputFile.c_str()); if (child0 !=NULL) { static_cast<huffman_item<dtype> …

Member Avatar for skatamatic
0
181
Member Avatar for drjay1627

Can some one help me with this error: =========================================error================================ In file included from /usr/include/sys/signal.h:34, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/pthread.h:22, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/sparc-sun-solaris2.6/bits/gthr-default.h:37, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/sparc-sun-solaris2.6/bits/gthr.h:98, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/sparc-sun-solaris2.6/bits/c++io.h:37, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/bits/fpos.h:44, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/iosfwd:46, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/ios:44, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/ostream:45, from /util/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.2.2/include/c++/iostream:45, from main.cpp:1: /usr/include/sys/siginfo.h:259: 'ctid_t' is used as a type, but is not defined as a type. /usr/include/sys/siginfo.h:260: 'zoneid_t' …

Member Avatar for Lerner
0
255

The End.