Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #1K
~63.6K People Reached
Favorite Tags

92 Posted Topics

Member Avatar for gretty

Hello I am new to Java & I am trying to find ways(in built Java objects/ways) to parse HTML. Can you suggest some objects in the Java Standard Library? I have extended the object HTMLEditorKit.ParserCallback but when parsing a web pages' source code it literally takes 2 minutes or more! …

Member Avatar for olupotd
0
201
Member Avatar for gretty

Hello I have made a simple win32 program that displays a window that has a button & a text area. When I click the button, my program grabs the text from the text area & displays the grabbed text in a MessageBox. [B]My Problem:[/B] When my program grabs the text …

Member Avatar for malcolmsand
1
2K
Member Avatar for huzeifa

I found this snippet a while ago. [CODE=cplusplus]#include <windows.h> int main() { ShellExecute(NULL, "open", "http://google.net", NULL, NULL, SW_SHOWNORMAL); } [/CODE]

Member Avatar for Ancient Dragon
0
4K
Member Avatar for rock9449

Hi I am learning programming at Uni so I am new to this but I wrote this code that seems to work pretty well [ICODE]#include <iostream> using namespace std; int main() { int hour, minute; int htime; cout << "Enter a 24 hour time in hours then in minutes: "; …

Member Avatar for deceptikon
0
8K
Member Avatar for gretty

Hello I have a Container class that will allow me to store & retrieve elements from it easily by using the member variables of the elements as their key/identifier. My problem is I am tring to store a pointer to an objects member variable, but I get a compiler error. …

Member Avatar for rubberman
-1
165
Member Avatar for gretty

Hello [B]I am experimenting with Java applets & communicating between a Servlet & an applet. I am experiencing a HTTP 501 error when I go to retrieve the input stream from my URLConnection object.[/B] I know that the 501 error means that I am attempting to perform an action that …

0
69
Member Avatar for gretty

Hi I am making a function that finds what todays date is & returns it as a string to main. (string format dd/mm/yy). My problem is I have found out how to find the day, month & year, but I cant put it into a string & return it to …

Member Avatar for WaltP
0
1K
Member Avatar for gretty

Hello I have this task below & I need someone to tell me if I have done it correctly. The part where I am not sure is if I am correctly checking if the array is empty. [quote]Write a function to find the maximum value in an array of ints …

Member Avatar for Akill10
0
155
Member Avatar for gretty

Hello I am just learning Java. I have some elmentary questions. In my code below there are 3 errors that occur: - How do I declare a string array of size 5 in Java correctly? - How do I cin :p, take in a string array element. Ie, in C++ …

Member Avatar for tong1
0
214
Member Avatar for gretty

Hello [B]Would anyone like to share their tips & tricks for debugging functions & whole programs in C++. [/B] I find I suck at debugging :P & really dont look forward to having to go through my functions again to see if there are any loopholes etc so if anyone …

Member Avatar for Dingbats
0
156
Member Avatar for gretty

Hello How do I combine hexadecimal numbers? For example if I have the numbers: - aa - 14 - 5d How can I combine them to get : aa145d ?

Member Avatar for archana.c07
0
2K
Member Avatar for gretty

Hello I am new to Java & I have made a simple mortgage interest calculator. [b]I am looking for advice on my program such as:[/b] [i]- Proper java structure - Better more efficient ways of doing what I am doing below - Proper java format(variable names, function names) - Are …

Member Avatar for Cort3z
0
130
Member Avatar for gretty

Hello I am starting to learn both HTML & CSS for University & I have some questions about what the proper practices a HTML coder should do in terms of Website architecture: I want to ask what is best, most conventional or the industry standards for the following: - include …

Member Avatar for Hangfire
0
68
Member Avatar for gretty

Hello I have made a simple win32 application that converts temperatures. [B]Problem:[/B] I am displaying a bitmap image in a static control that is scaled using StretchBlt(). But when the application runs it goes into an [B]infinite loop, doesn't display the bitmap & crashes[/B]. I believe the problem is either …

0
70
Member Avatar for gretty

Hello I have a static window control & I want to make the text inside that static window centre aligned. [B]Is is possible to do that with a static window?[/B] Or should I use another function? static window: [CODE] stBox = CreateWindowEx( 0, "Static", s.c_str(), WS_BORDER | WS_CHILD | WS_VISIBLE, …

Member Avatar for William Hemsworth
1
228
Member Avatar for gretty

Hi I have downloaded an editor called OceanTiger CSDesigner & it has no compiler with it. I have read the sticky posts, & I know that I could use netbeans or microsoft visual instead but I want OceanTiger because its small like Dev c++ & doesn't uses heaps of memory …

Member Avatar for thines01
0
152
Member Avatar for gretty

Hello HELP :( Ok I have an assignment due in 5 days. I have done [B]everything[/B] except for one function. This function finds the smallests factors of a positive int & it multiplicities, Have I lost you yet, dont worry because I've been lost for a week now with this …

Member Avatar for mrnutty
0
150
Member Avatar for gretty

Hello I am not sure if my function below will completely delete a linked list. I am worried it will delete every element of the list except for the head(first node)? For example; If I have this linked list below [QUOTE] L -> 1 -> 2 -> 3 -> 4 …

Member Avatar for mrnutty
0
87
Member Avatar for gretty

Hello I have 2 ways to delete a linked list, which one is correct? If I have this linked list: [QUOTE] list = 1 - 2 - 3- 4 [/QUOTE] Which function will delete list correctly? 1. [CODE] void destroy(node * & list) { while (list != NULL) { delete …

Member Avatar for gretty
0
79
Member Avatar for gretty

hello How do I traverse & compare 2 linked lists that have different sizes without getting an error. For example: [QUOTE] List1 -> 1 -> 4 -> 6 List2 -> 8 -> 3 -> 2 -> [B]8[/B] [/QUOTE] [CODE] // I will get an error the 4th time this loop …

Member Avatar for Clinton Portis
0
88
Member Avatar for gretty

Hello I have a task to perform an addition of 2 Big Integers. Each Big Integer is stored in a linked list in reversed order. [B]Is my add function correct?[/B] For eg; we have 2 Big Ints to add together [QUOTE] First BigInt = 245 { strored in the linked …

Member Avatar for gretty
0
410
Member Avatar for gretty

Hello I have created a simple linked list that allows me to do 3 things; create a linked list, calculate the size of the linked list & print the contents of the linked list. Although my program crashes when I use the functions: - int len(node *L); // return length …

Member Avatar for dkalita
0
91
Member Avatar for gretty

Hello I'm new to java & I am trying to convert a float to a string in my simple program. But I get an error on that line. Can you tell me why or what I need to do to fix it? Maybe I haven't imported the right things or …

Member Avatar for Jocamps
0
195
Member Avatar for gretty

Hello I am studying for my exam & I came across this question that is stumping me. [CODE=cplusplus] class X { public: X(); private: int x1, x2; }; class Y : public X { public : Y(); private: int y3; } // the class Y does not end in an …

Member Avatar for kvprajapati
0
4K
Member Avatar for IndyColts

I was in ur position, every tutorial makes it sound like you need this and that to start programming. And i'm trying to learn java & i'm finding the same thing again. All you need is this: - Dev C++ (This is a compiler - meaning an editing program to …

Member Avatar for IndyColts
0
125
Member Avatar for joshk6656

Hey I am trying to make console apps too, but I ahven't got very far :P Would you feel comfortable sharing your code here so others can learn how to create a console app? ps, um yeah sorry I dont have anything constructive to add to ur prob lol, making …

Member Avatar for joshk6656
0
147
Member Avatar for gretty

Hello I want to attempt a freelance c++ job/project for the skills & experience but do you think there are any jobs out there for my skill level? I have been learning programming for 8 months, only know c++, & I only know the basics, arrays, vectors, pointers, stacks ,lists,queues, …

Member Avatar for Nick Evan
0
177
Member Avatar for gretty

Hello Can you assist me in developing my algorithm? I have to do this: [QUOTE]Write a C++ function balanced that uses a [B]stack[/B] to check that all brackets in a string are balanced. For eg: This is a balance string: [I]This (string) has (balanced {brackets[(now)]} [thanks])[/I] This string is not …

Member Avatar for VernonDozier
0
1K
Member Avatar for gretty

Hello I am unsure of the correct way to make this function below(multiply) stop if a condition is true? The reason why is because of the function type, its not an int, string, void etc, I am unsure how to stop a function whos type is the class name? Do …

Member Avatar for StuXYZ
0
93
Member Avatar for gretty

Hello [B]Can you tell me why my for loop below doesn't show all the elements contained in a stack (stacks size = 3). [/B] It only shows the top 2 elements when it shoudl show all 3? Also another question, is there a way to show the contents of a …

Member Avatar for mrnutty
0
125

The End.