Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 129
Search took 0.01 seconds.
Search: Posts Made By: Troncoso
Forum: HTML / XHTML / CSS Feb 7th, 2014, 12:28 PM
Replies: 4
Views: 8,335
Posted By Troncoso
Re: Html Editor

Well, what I'm particularly looking for is a decorated editor (textbox) that has functions for inserting links, images, and so on. That's all I need. Rendering the actual HTML shouldn't really be a...
Forum: HTML / XHTML / CSS Feb 7th, 2014, 8:32 AM
Replies: 4
Views: 8,335
Posted By Troncoso
Html Editor

I'm looking for an html editor I can embed into my website so I can write and upload articles/blogs/etc, rather than write the articles separately and manually add them to the database.

I did try a...
Forum: C++ Dec 2nd, 2013, 8:54 AM
Replies: 7
Views: 6,854
Posted By Troncoso
Re: coding Graph data structure using C++

Your problem description is vague, and honestly sounds like you want us to do your homework. Please provide more information, what you've tried, and what particularly is giving you a hard time.
Forum: PHP Nov 30th, 2013, 9:52 AM
Replies: 2
Views: 5,383
Posted By Troncoso
Re: Image mapping (selecting part of image as link) wordpress

It seems like it'd be easier to just separate the logo from the background. Otherwise, you can try this (http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_areamap).
Forum: Java Nov 19th, 2013, 7:57 AM
Replies: 3
Views: 6,816
Posted By Troncoso
Re: Java diamond output in console

I can't edit my last post, but just for fun, I created my own program to do the same thing:

public class Diamond
{
public static void main( String[] args )
{
int width = 11;
...
Forum: Java Nov 19th, 2013, 7:20 AM
Replies: 3
Views: 6,816
Posted By Troncoso
Re: Java diamond output in console

It seems to work fine...are you having any issue with it?
Forum: Java Oct 30th, 2013, 1:50 PM
Replies: 2
Views: 5,226
Posted By Troncoso
Re: Write class using Singleton Pattern.

An example:

public class Singleton
{
// This is the single object everything will access
private static Singleton singleton;

// Prevents anyone from creating a new Singleton instance
...
Forum: Other Programming Languages Sep 29th, 2013, 5:24 PM
Replies: 7
Views: 9,083
Posted By Troncoso
Re: Is BASIC easy to learn ?

I'd have to disagree with learning BASIC. It is a very old language that isn't used for common application anymore. If you want something simpler than Java, try Python. Like BASIC, it is also...
Forum: PHP Sep 22nd, 2013, 9:56 AM
Replies: 2
Views: 5,458
Posted By Troncoso
Re: Incorporating php and js

It works completely in:

IE 10.0.9200.16660
Firefox 22.0
Chrome 29.0.1547.76

It works in these browsers, but the link doesn't highlight in yellow like the others:

Safari 5.1.7
Opera 15.0.1147.148
Forum: Java Sep 18th, 2013, 12:22 PM
Replies: 6
Views: 6,585
Posted By Troncoso
Re: Java OpenGL Help?

I think you may have your project setup improperly. I can't be sure. I don't even know what error you are actually getting.

What you should do is go on Youtube, and lookup "the coding universe lwjgl...
Forum: Java Sep 17th, 2013, 9:14 AM
Replies: 6
Views: 6,585
Posted By Troncoso
Re: Java OpenGL Help?

Can you post this tutorial? Your actual openGL code looks fine. I have to imagine there's something wrong with loading your natives.
Forum: Java Sep 17th, 2013, 8:42 AM
Replies: 6
Views: 6,585
Posted By Troncoso
Re: Java OpenGL Help?

That's extremely vague. Can you describe your actual results a bit more, please?

One thing I see is that Display.update() should be after glEnd().

Also, I don't think this matters because it is in...
Forum: C++ Sep 5th, 2013, 11:51 PM
Replies: 3
Views: 4,695
Posted By Troncoso
Re: OpenGL Help?

As the error says....either GLAUX.lib doesn't exist in your project, or you didn't properly set it up in your project. Go back through the tutorial's set up section and find where you messed up.
Forum: Java Sep 4th, 2013, 9:11 PM
Replies: 7
Views: 4,505
Posted By Troncoso
Re: Home Server

You'll need to set it up as a server (LAMP server), and then assign it a static IP address. Finally, you'll need to get a domain name for it.

Well, I guess you don't technically need the domain...
Forum: Java Sep 4th, 2013, 8:58 PM
Replies: 7
Views: 4,505
Posted By Troncoso
Re: Home Server

Host it over the Internet? Yes, it's possible (Google LAMP servers), but not very practical.

Edit: Oh. If it's just on your local network, then just install Apache, PHP, Java, and MySQL on your...
Forum: Databases Aug 31st, 2013, 11:57 AM
Replies: 11
Views: 7,868
Posted By Troncoso
Re: mySQL search problem

There is a PHP function, strtolower, that takes a string and drops the case. Whether some already are or not is lowercase doesn't matter.

And actually, I can't see why I didn't see that before (what...
Forum: Databases Aug 30th, 2013, 9:18 PM
Replies: 11
Views: 7,868
Posted By Troncoso
Re: mySQL search problem

Honestly, from what I can tell, it's just your regex. Forgive my ignorance, but I tend to avoid them. I imagine [^a-z] changes the case of all the characters. But what is the 'i' for? At the end...
Forum: Databases Aug 30th, 2013, 6:07 PM
Replies: 11
Views: 7,868
Posted By Troncoso
Re: mySQL search problem

What is an example or a query that should work, but doesn't?

What is syn? Are you getting the proper output when you use it?

And again, you are getting the Notice because you are trying to access...
Forum: Databases Aug 30th, 2013, 5:05 PM
Replies: 11
Views: 7,868
Posted By Troncoso
Re: mySQL search problem

You need to state your problem more clearly. What do you mean when you search by "$word"? That's a variable you are setting in your if statement.

As for that error, it occurs because when you use...
Forum: C++ Aug 28th, 2013, 8:25 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

What do you mean, it "takes forever"? You wouldn't draw an entire game like that, first of all. Those are only shapes. Drawing images is completely different. And, it'd be a good idea to develop some...
Forum: C++ Aug 28th, 2013, 4:38 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

Well, the thing is that the newer versions of openGL build on the older ones. So, you'll still use a lot of old code. That's why you'll find that it works at...
Forum: C++ Aug 27th, 2013, 9:30 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

Whhaaattt.....haha. Wow. Thanks for you that. I'll have to check it out.
Forum: C++ Aug 27th, 2013, 8:44 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

There is a book - Superbible 5th Edition. It's not free, but it's not expensive. It doesn't assume any knowledge prior to reading it. It tells you exactly how to set up a project and takes you step...
Forum: C++ Aug 27th, 2013, 1:43 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

Nah. I'm not saying you have to change anything. It's just a warning if you are planning to get seriously into openGL. I imagine your learning will eventually lead you to realized this either...
Forum: C++ Aug 27th, 2013, 12:28 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

That's not what I mean. 3.x is compatible with the outdated stuff, but as I said it's the old way of rendering....
Forum: C++ Aug 27th, 2013, 11:02 AM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

It's common to include a resize function. Something like this:

Void resizeWindow (int w, int h)
{
glViewport (0, 0, w, h) ;
}

Then apply it in main with

glutReshapeFunc(resizeWindow);
Forum: C++ Aug 27th, 2013, 10:21 AM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

Yes, that's where it should go.
Forum: C++ Aug 26th, 2013, 4:48 PM
Replies: 27
Views: 11,569
Posted By Troncoso
Re: OpenGl Window is White

White is the default clear color. To set the clear color:

glClearColor(0, 0, 0, 1);

for example, that would make it black. Here's the function description...
Forum: C++ Aug 24th, 2013, 12:35 AM
Replies: 4
Views: 9,166
Posted By Troncoso
Re: #Include

#include is a preprocessor directive. This means that during the compiling process, these get handled before the actual compiling of the program. When it runs across a #include, it links that file to...
Forum: C Aug 11th, 2013, 5:58 PM
Replies: 23
Views: 13,852
Posted By Troncoso
Re: Windows Title

Did you even read the error message?

1>c:\users\smjprogrammer\documents\visual studio 2010\projects\title function\title function\title function.cpp(7): error C2065: 'Lb' : undeclared...
Forum: HTML / XHTML / CSS Aug 8th, 2013, 11:25 PM
Replies: 1
Views: 3,998
Posted By Troncoso
Re: Need help with html/javascript

It should just be

var c = prompt(blablabla)
Forum: JavaScript and Client-Side Browser Scripting Aug 8th, 2013, 10:16 AM
Replies: 1
Views: 6,029
Posted By Troncoso
Data Loss Prevention On Back Button

I'm trying to get some ideas on preserving some data when a user navigates to/from a certain web page.
There is a textarea and also a current timestamp that is stored as soon as the user opens the...
Forum: JavaScript and Client-Side Browser Scripting Aug 1st, 2013, 9:12 PM
Replies: 0
Views: 7,662
Posted By Troncoso
window.open parameters

I used window.open to create a new window when a form is submitted as such:

<form action="edit.php" method="POST" target="popupw" onsubmit='popupw=window.open("about:blank", "popupw",...
Forum: PHP Jul 29th, 2013, 4:54 PM
Replies: 2
Views: 4,132
Posted By Troncoso
Re: Display results of another page on query page

You can post to the same page that the form is on. In the PHP code, you can just do a check like this:

if (isset($_POST['<some field>']))

This tells you that the form has been posted, and there are...
Forum: Existing Project Development Jul 21st, 2013, 6:25 PM
Replies: 6
Views: 6,576
Posted By Troncoso
Re: between Joomla and WordPress

I'm kind of intrigued on how you managed to get work with so little experience... WordPress would probably be easier, and can look nice if you put in the effort.
Forum: PHP Jul 19th, 2013, 7:58 AM
Replies: 2
Views: 3,161
Posted By Troncoso
Re: Query Result No What It Should Be

Wow. As soon as I read that, I realized the issue. I'm used to running through the query results with a for loop (if that wasn't obvious by the $i). Thanks a lot, mate. Sometimes it just takes a...
Forum: PHP Jul 18th, 2013, 4:21 PM
Replies: 2
Views: 3,161
Posted By Troncoso
Query Result No What It Should Be

I'm using this query:

SELECT loggedon, startedon, addbacktime, ecronly FROM ticketresolutions WHERE ticketid=110703

The '110703' is just an example value. This is the result when I run the query...
Forum: C++ Jul 12th, 2013, 12:41 PM
Replies: 14
Views: 12,704
Posted By Troncoso
Re: Questions about computer science school..

Wouldn't non-insignificant be the same as significant? Haha.

Anyway, in my eyes, going to college is really just an opportunity to find a job in the field you want. If you think about it, all your...
Forum: C++ Jul 11th, 2013, 9:24 PM
Replies: 14
Views: 12,704
Posted By Troncoso
Re: Questions about computer science school..

If you go to a University, you are way more likely to come across job opportunities. Businesses near schools have a habit of hiring students from there. They'll even communicate with the school to...
Forum: Java Jul 11th, 2013, 7:40 PM
Replies: 3
Views: 5,323
Posted By Troncoso
Re: cmd java run issue

You should post the command you are using. It looks like you aren't including all the classes.
Showing results 1 to 40 of 129

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:16 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC