Search found 7897 matches

Actual Results

Post Posted: April 16th, 2014, 7:10 pm

I think so too... I just don't know how to do it command line and Eclipse is too much trouble than it's worth.

Post Posted: April 15th, 2014, 7:52 pm

Okay, I figured it out... Apparently when I add a new source file and name it, it doesn't add the .c extension automatically, and I'm supposed to do that myself. After adding the extension, it fixed my problem. Now I got the following notice in the Console: <terminated> Hello World Debug [C/C+...

Post Posted: April 15th, 2014, 7:33 pm

If I try to build I get the following notice:
Quote:
Nothing to build for project Hello World

For run, I have Auto Build set up.

Now it says (after I did clean)
Quote:
The selection cannot be launched, and there are no recent launches.


Edit2: Now it's back to the not found binary thing...

Post Posted: April 15th, 2014, 7:24 pm

It might be my PATHs variables, but I know nothing about paths, where they're at (environments maybe?), what they should be, how many of them there should be...

Post Posted: April 15th, 2014, 7:08 pm

I'm trying to run the following code in C:
C Code: [ Select ]
//C hello world example #include <stdio&#46;h> int main() { printf("Hello world\n"); return 0; }
I found that code here . It is probably because I'm including stdio.h which is the binary that is not found (or something else entirely)....

Post Posted: April 12th, 2014, 11:05 pm

Well, I did shove it into the second alternative... found out that the first alternative is for direct links (http://www.google.com) and second alternative is for relative links (./path/to/file.php). [code]((^(http[s]?:\/\/)?([w]{3}[.])?(([a-z0-9\.]+)+(com...

Post Posted: April 12th, 2014, 10:56 pm

I got the following REGEX to work... [code]((^(http[s]?:\/\/)?([w]{3}[.])?(([a-z0-9\.]+)+(com|php))(((\/[a-z0-9]+)*(\/[a-z0-9]+\/?))*([a-z0-9]+[.](html|php|gif|png|jpg))?)(((\&|\?)\w+\=\w*)*)$)|((^([.]\/)...

Post Posted: April 12th, 2014, 8:27 pm

I currently (not) use the following REGEX: [code]^((https?:[/][/])?(\w+[.])+com([?]\w+=\w*([&]\w+=\w*)*)?|((https?:[/][/])?(\w+[.])+com([?]\w+=\w*([&]\w+=\w*)*)?[/]|[.][/&#...

Post Posted: April 12th, 2014, 8:21 pm

There is actually a JavaScript library for this (you most likely already have seeing it).

Annyang

Post Posted: April 12th, 2014, 8:12 pm

I got Cygwin compiler which took over 12 hours to download and install and took up about 35Gigs of space :shock: I don't have a Linux or another machine... Cygwin comes with GCC and other stuff... many other stuff... 35Gigs of other stuff!! Thanks for the help!! I'll try using the Eclipse with the c...

Post Posted: April 11th, 2014, 9:25 pm

I downloaded Eclipse (and installing Cygwin compiler) but it turns out that Eclipse is an IDE... maybe I didn't understand a certain tutorial right, which said: decide whether you want to run an Integrated Development Environment (IDE) or if you want to edit C files manually through an editor like N...

Post Posted: April 11th, 2014, 8:16 pm

I have another question on this subject. I don't want an IDE to develop in C (mainly because I don't know how to use an IDE and I don't know the language yet).

I want to be able to type in Notepad++ (or something like that) and then be able to compile it and run.

Post Posted: April 10th, 2014, 10:03 pm

Thanks, that stuff you posted about INNER JOIN and other kinds of joins did help me. I changed my code to INNER JOIN. Thanks for posting such a detailed post.

Post Posted: April 10th, 2014, 8:34 pm

I have the following SQL:
SQL Code: [ Select ]
"SELECT group_name FROM " &#46; GROUP_TABLE &#46; " WHERE `group_id` = (SELECT user_group_id FROM " &#46; USER_TABLE &#46; " WHERE `user_id` = '{$user_id}')"
Is it more efficient if I do left join instead of joining two queries like ...

Post Posted: April 9th, 2014, 11:55 pm

I won't be able to suggest any APIs or extensions or anything like that to either take place of what you have or to improve. I can though, suggest a few steps you (or your programmers) could take to help improve the load time and efficiency of the code. The main thing you want to check for in your c...

Post Posted: April 9th, 2014, 11:25 pm

I know you guys won't understand Russian (the song is a Russian Christian hymn), but the images might be of interest (just to spend the time I guess) to some. Some people took pictures of prosecution that went on in USSR (during it's existence... in Communism) against Christians (Baptists, Protestan...

Post Posted: April 9th, 2014, 10:39 pm

I get a server not found for that flippo.io link you provided. Not that I have a site to check, but others who do won't be able to.

Kind of makes you doubt the security... it's there but it's not working as well as it should :/

Thanks for the heads up.

Post Posted: April 8th, 2014, 10:51 pm

No, not really. I'm just finishing up on creating an abstract class (+ 1 child class for MySQLi) for a utility (or group of) to connect to a database. I want to create one abstract class which would be extended by classes named 'class mysqli extends database', 'class postgresql extends database' and...

Post Posted: April 8th, 2014, 10:47 pm

Classes and OOP (Part 6) 1.0 Previous Tutorial This is the sixth tutorial in a series of tutorials on classes and OOP. First Tutorial Second Tutorial Third Tutorial Fourth Tutorial Fifth Tutorial In the previous tutorial we learned about abstract classes, their relevance to the programming ...

Post Posted: April 6th, 2014, 8:35 pm

Does the sql queries/statements look the same in other SQL servers as in MySQL?

Like would:
SQL Code: [ Select ]
SELECT * FROM `table_users` WHERE `userID` = 1;

Be the same for all SQL servers? (MySQL, SQLite, PostgreSQL...)

Post Posted: April 5th, 2014, 10:09 pm

Is there any benefits of using factory? Is it considered as bad practice?

Post Posted: April 5th, 2014, 8:39 pm

I just went off on a different route... [php]$match = array(); preg_match_all("/\<if\>(.*)\<\/if\>/", $contents, $match[1]); preg_match_all("/\<\/if\>(.*)\<elseif\>/", $contents, $match[2]); preg_match_all("/\<elseif\>(&#...

Post Posted: April 5th, 2014, 7:58 pm

Good question. I remember tackling this way back then when I was creating the templating engine I posted in PHP tutorials and I've tried 'str_replace' from and then eval'd it... but that didn't work. For instance if I have in my template file: [code]<if>$variable != true</if> // My Code ...

Post Posted: April 5th, 2014, 7:14 pm

I have a question... I don't really understand how template engines parse if/elseif/else statements, all kinds of loops/functions... I don't understand the logic behind that. I'm trying to learn... my current project is taking me to new heights in programming and I'm trying to reinforce my PHP knowl...

Post Posted: April 5th, 2014, 2:34 pm

What about factories, are they considered as bad practice? Looks to me like it's similar to a singleton (in a way).

Post Posted: April 3rd, 2014, 9:48 pm

Are you using a framework like CakePHP or CodeIgnitor in your site? Just wondering.

Post Posted: April 2nd, 2014, 12:05 pm

Yeah, posts that have already being read/seen except OP.

Post Posted: March 31st, 2014, 11:16 pm

Well, if you're ever going to have only one there, then you won't see the scroll bar even if it's coded in there anyway. I wouldn't worry about it.

Post Posted: March 31st, 2014, 10:56 pm

How about having it where a post (except for OP) would allow for like 20 lines and everything else would be collapsed (like the code blocks).

Would make certain topics (Like this one for instance) easier to scroll by and search for the post you want/need.
  • Sort by
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.