The file-structure tag has no wiki summary.
-1
votes
0answers
22 views
my program won't open the contents of a file [closed]
Why won't my program continue after I ask for the text file? Once I run the program, for some reason I doesn't seem as if it looks for the file, nor does it output the contents of the file. what can ...
0
votes
0answers
28 views
Automatically redirect /index.php files to their URL directory with .htaccess
The requirements:
Work inside .htaccess (preferably via mod_rewrite)
Redirect requests from /any/directory/index.php to /any/directory/
Make sure that /index.php-with-stupid-stuff-here does not get ...
-1
votes
1answer
23 views
Vendor or Libs folder for web application assets? [closed]
Here is my website / web application folder structure that I try to follow:
www/
css/
images/
js/
libs/
jquery-ui/
v1.2.3/
(exact jquery-ui v1.2.3 structure here)
...
0
votes
1answer
159 views
'How to debug Buffer Overrun Issues' erro. Can someone help me to fix my code? [closed]
I have this code that reads a file that already exists, but in the first "for" when it read the file and copies it to the "struct" when the index is 1, I get an error:
(A buffer Read overrun has ...
4
votes
2answers
2k views
Reading a line from a text file and splitting its contents
I have this kind of file structure
MALE:FooBar:32
FEMALE:BarFoo:23
Where I would want to identify the gender and age of person, <Gender>:<Name>:<age>
try{
BufferedReader in = ...
2
votes
2answers
151 views
C simple text file i/o
I wanted to learn how to work with file I/O properly so i've found an assignment in my college papers and decided to write it.
So here it is.
//Write a C program which reads data about books and ...
1
vote
1answer
279 views
ruby gem file structure [closed]
Am in the middle of implementing my first gem and I'm pretty sure the file structure I'm using is going to become problematic (particularly under "lib", I'm becoming worried about the amount of files ...
1
vote
1answer
44 views
Replace first occurence of pattern in file
Here's my attempt to replace first occurence of pattern in file with spaces. Effectively deleting it, and hopefully will allow me to "delete" it in a large file, without rewriting it.
#define ...
6
votes
1answer
571 views
High level file structure and library structure
I'm working on a DOM-shim project.
For a small subset of the DOM4 specification (Actually a subset of the Node interface) I already have 400+ lines of functions.
I presume keeping this up will ...