Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #30 on: February 23, 2012, 09:16:54 pm » |
Notepad didn't work... Any other text/test edited on a windows xp?
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #31 on: February 23, 2012, 10:14:53 pm » |
Text editor.
Notepad will work. In what way didn't it "work"?
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #32 on: February 24, 2012, 01:25:58 am » |
well i copied/pasted the code from the .h file on the old forum into notepad, then i try to save it as a different file, but nothing pops up?? I also tried (under save as) the encoding pull down but only got Unicode, ANSI, UTF-8, or big-endian Unicode...
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #33 on: February 24, 2012, 01:38:00 am » |
Nothing pops up? What do you mean? And don't use Unicode or UTF-8.
Look, saving a text file from Notepad should be a simple operation. I don't know how to explain it.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #34 on: February 24, 2012, 01:51:32 am » |
Yeah i know what you mean.... its making my brain hurt. everything that you guys say makes sense, but when i go to save as, then the drop-down menu of all the different hings i can save it as the only thing their is a .txt file.... no .h or .cpp
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10148
|
 |
« Reply #35 on: February 24, 2012, 02:21:05 am » |
"Save as type" is a convenience not a requirement. You can enter any filename you'd like. Just include the extension when you enter the name.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 311
Posts: 35483
Seattle, WA USA
|
 |
« Reply #36 on: February 24, 2012, 09:18:55 am » |
The options on the Save/Save As panel posted by Notepad are Text Documents (*.txt) and All Files (*.*). These options define what files in the current folder are listed (only .txt files or all files) and whether or not the .txt extension is automatically appended. Select All Files. The enter a file name with the .h or .cpp extension, and hit Save.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #37 on: February 24, 2012, 01:45:55 pm » |
Oh. That makes a ton of sense, I'll try it when I get home. Could someone please explain how the library works???!?
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #38 on: February 24, 2012, 03:00:44 pm » |
mmk, felling reeeeeaaaaaaaaly smart right now. that worked, does anyone know how it works?
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #40 on: February 24, 2012, 10:18:26 pm » |
oh, so the library doesn't just have a function that says this many outputs wanted (12) then breaks it up? *SIGH* ok... what about anything besides a fft?
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #41 on: February 24, 2012, 10:25:35 pm » |
Huh? The one for the lots of leds shield simply averaged the arrays so you average down 128 items (or whatever it was) to 12.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #42 on: February 24, 2012, 10:34:22 pm » |
what function do i use for that?
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
Seattle, WA
Offline
Full Member
Karma: 1
Posts: 225
|
 |
« Reply #43 on: February 24, 2012, 11:39:49 pm » |
In the library that is? where did the 128 items come from?
|
|
|
|
|
Logged
|
"It's Dr. Evil. I didn't spend six years in Evil Medical School to be called 'mister,' thank you very much."
|
|
|
|
|
|
|