Search Results

Showing results 1 to 40 of 232
Search took 0.23 seconds.
Search: Posts Made By: Dogtree
Forum: HTML and CSS Jul 20th, 2006
Replies: 2
Views: 1,943
Posted By Dogtree
>> How do they make tables with only CSS without using HTML Tables?
Well, if you need a table, you need a table. But you can do typical table layout stuff with CSS pretty easily. Just make good use...
Forum: Website Reviews Jul 18th, 2006
Replies: 4
Views: 1,307
Posted By Dogtree
Um, not to sound harsh or anything, but what's so special about making a skin for vBulletin? There's really very little design going on when you take an existing format and basically add pictures.
...
Forum: C Jul 18th, 2006
Replies: 9
Views: 1,157
Posted By Dogtree
>> I mean like the PYTHON , you can see a nice topic ( Starting Python) in this site , i mean like that .
A good tutorial is hard to write. It takes a lot of time, and the people who know enough to...
Forum: C Jul 17th, 2006
Replies: 2
Views: 2,837
Posted By Dogtree
>> which of the above methods is better in implementing .....
It depends.

>> what are the advantages of recursion over iterative methods ??...
Forum: Site Layout and Usability Jul 17th, 2006
Replies: 9
Views: 5,170
Posted By Dogtree
That's irrelevant. Unless you cater to high tech people who are more likely to be using a high resolution, the majority of your hits will be people who use 800x600 as the default resolution. When...
Forum: Site Layout and Usability Jul 16th, 2006
Replies: 4
Views: 1,547
Posted By Dogtree
>I wanted to know how I should go about designing the webpage.
Design and implementation are different. Start by deciding what you want your site to accomplish. Look at sites that do the same thing...
Forum: Website Reviews Jul 16th, 2006
Replies: 7
Views: 1,432
Posted By Dogtree
The color scheme is more logically consistent in the second design. It's hard to say more until I know what you're going to put in each section. ;)
Forum: Site Layout and Usability Jul 16th, 2006
Replies: 9
Views: 5,170
Posted By Dogtree
>>Because I am pretty sure my site will look really bad on anything apart from a 1024*768 or 1280*1024.
Then it has critical design flaws. If you don't design for people at lower resolutions too,...
Forum: C Jul 14th, 2006
Replies: 8
Views: 2,144
Posted By Dogtree
So you deliberately break the type system and then wonder why it doesn't work? :) What were you expecting to happen?
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,035
Posted By Dogtree
In that case, you need to ease off on your project and do something closer to your current skill level. If you can't figure out how to use such a simple class, you're not even close to being ready to...
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,035
Posted By Dogtree
>> can u give send me some code how to seperate the contents from commas.
That nice convenient class I posted that does exactly what you asked for must not have been what you really wanted. Why are...
Forum: C++ Jul 14th, 2006
Replies: 3
Views: 2,094
Posted By Dogtree
It's just what the error says. You can't have that particular debugging switch active when optimizing for speed. Under your project settings, the general tab in C/C++, you can change Debug...
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,035
Posted By Dogtree
>> Extent of CSV format is like
Well that's simple enough. You don't need to do any tricky parsing if there won't be commas embedded in a field.

#include <sstream>
#include <string>
#include...
Forum: Site Layout and Usability Jul 14th, 2006
Replies: 2
Views: 2,363
Posted By Dogtree
The only way I can think of would be to munge the address. The problem with that is people can't click on it anymore and be able to mailto. A spam crawler can just as easily check your source as it...
Forum: Site Layout and Usability Jul 14th, 2006
Replies: 9
Views: 5,170
Posted By Dogtree
So you want a fixed, non-repeating image, that changes size when the browser window is resized? I don't think you can do that with portable CSS.
Forum: C++ Jul 14th, 2006
Replies: 16
Views: 21,035
Posted By Dogtree
What's the extent of your CSV format? Is it just a bunch of fields separated by commas, or can the fields contain commas as well? A full CSV format means you need to do some tricky quotation parsing...
Forum: Geeks' Lounge Sep 19th, 2005
Replies: 5
Views: 1,575
Posted By Dogtree
Kinda sorta. My company had an office in New Orleans, but thankfully none of the equipment I'm in charge of was drenched (no one was hurt either, so I'm not being callous). I do have the issue of...
Forum: C++ Jun 28th, 2005
Replies: 2
Views: 2,402
Posted By Dogtree
> Please some one write this program
No. If you're too lazy to do it then you deserve a failing grade.
Forum: C Jun 25th, 2005
Replies: 5
Views: 2,002
Posted By Dogtree
> spans of whitespace?
Whitespace is when you hit the space bar on your keyboard, or the tab key, or the return key. Spans means one or more. So you're looking for one or more of ' ', '\t', '\n', or...
Forum: C++ Jun 25th, 2005
Replies: 20
Views: 6,447
Posted By Dogtree
> How very true, but STL is chapter 10. I'm at chapter 6
What are you talking about? The STL has nothing to do with redirecting the output of a program to a file from the shell. If you were talking...
Forum: HTML and CSS Jun 25th, 2005
Replies: 5
Views: 23,773
Posted By Dogtree
The height attribute doesn't exist in any portable HTML specification. You're relying on an IE extension. A workable solution is CSS:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
Forum: Site Layout and Usability Jun 25th, 2005
Replies: 3
Views: 7,720
Posted By Dogtree
One word: Javascript. A quick google search will give you something like this (http://simplythebest.net/scripts/DHTML_scripts/javascripts/javascript_65.html).
Forum: C Jun 25th, 2005
Replies: 5
Views: 2,002
Posted By Dogtree
To count the number of words, just count spans of whitespace. Each span of whitespace separates a word. To count the number of sentences, look for punctuation.
Forum: C++ Jun 25th, 2005
Replies: 20
Views: 6,447
Posted By Dogtree
> Would it be something like this then?
Something like that, yea. But wouldn't it be faster to try it out for yourself? ;)

> Also, do I need to use forward or backward slashes?
Either will work...
Forum: HTML and CSS Jun 25th, 2005
Replies: 2
Views: 8,549
Posted By Dogtree
As one would expect, the page will look funky if you try to create a fluid layout and then shrink the viewing area so that it's smaller than the collective width of your images. There's really no...
Forum: C++ Jun 25th, 2005
Replies: 20
Views: 6,447
Posted By Dogtree
> Do I have to enter the same path wich it has to follow as in the other ones?
Yes. For simplicity, my example assumed that both the executable program and the file were local to the root directory...
Forum: C Jun 24th, 2005
Replies: 10
Views: 2,267
Posted By Dogtree
> Which approach below is faster?
Generally, if you're working through a pointer, there's an extra level of indirection. Therefore, in theory, going indirectly though a pointer is slower. In...
Forum: C++ Jun 23rd, 2005
Replies: 20
Views: 6,447
Posted By Dogtree
> In other words, it means that *pp has those properties wich are mentioned in the structure right
Yea, basically.

> And can only a pointer have that ability to be written in that place
No,...
Forum: C++ Jun 22nd, 2005
Replies: 6
Views: 2,638
Posted By Dogtree
Hey, the code is correct, so you're ahead of most of the tutorials on the web these days. ;)


Your site is bookmarked. I'll consider joining.
Forum: C++ Jun 22nd, 2005
Replies: 6
Views: 2,638
Posted By Dogtree
> First of all, open your C++ compiler.
This assumes that you're using an IDE and not a command line based compiler. For the latter you would open a text editor, and the compiler wouldn't be invoked...
Forum: C++ Jun 22nd, 2005
Replies: 1
Views: 4,805
Posted By Dogtree
You're thinking too hard. :)

#include <cstdlib>
#include <fstream>
#include <iostream>
#include <string>

int main()
{
const char InputFileName[] ="in.txt";
Forum: C++ Jun 22nd, 2005
Replies: 3
Views: 7,163
Posted By Dogtree
> Can you please provide me with examples of when and how copy constructors are used..
The simplest example is passing an object by value:

class C {};

void foo(C obj); // C's copy constructor...
Forum: C Jun 22nd, 2005
Replies: 3
Views: 16,620
Posted By Dogtree
> Is it right ??
No, you're thinking that the left side of my queues designate the front, which wasn't the intention. It works like this in the example that I gave:

New values go in here -> 1 2...
Forum: C++ Jun 21st, 2005
Replies: 20
Views: 6,447
Posted By Dogtree
1) No, a structure's members are public by default, so anyone can access them. Dave put the structure in main to limit its scope to main. Consider this:

int main()
{
struct test {};
test t;...
Forum: C Jun 21st, 2005
Replies: 3
Views: 16,620
Posted By Dogtree
Think of it this way: For each new value that's pushed onto the 'stack', you pop all of the values from queue1 onto queue2, then push the new value onto queue1. Taking a simple example, say you have...
Forum: C Jun 20th, 2005
Replies: 16
Views: 10,307
Posted By Dogtree
Start a new thread, dude. It's bad form to bring an old thread back from the dead.
Forum: C Jun 19th, 2005
Replies: 12
Views: 2,362
Posted By Dogtree
That's all well and good, but you didn't answer the original question. You just threw away the code given and posted a C-style solution with the implication that it was somehow better, without...
Forum: C++ Jun 19th, 2005
Replies: 1
Views: 1,982
Posted By Dogtree
> and I dont have a complier
I suggest you get one, because your code will not compile. Or at the very least, you can test drive Comeau here (http://www.comeaucomputing.com/tryitout/) to see what...
Forum: HTML and CSS Jun 19th, 2005
Replies: 2
Views: 2,194
Posted By Dogtree
1) You're using the margin:auto trick, right? IE can have issues with that, especially older versions. Though the site looks fine for me in IE6. A common hack to fix that is to use text-align:center...
Forum: C Jun 19th, 2005
Replies: 12
Views: 2,362
Posted By Dogtree
> why is this more elegant?
C-style I/O doesn't recognize the std::string class, so you end up having to jump through error prone hoops to get it to work, or you need to use C-style strings, which...
Showing results 1 to 40 of 232

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC