Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Im going crazy by Isabella Goblingstock - Tue, 18 Mar 2014 02:09:04 EST ID:QTrEIfu8 No.31259 Ignore Report Reply Quick Reply
1395122944898.jpg -(590690 B, 680x1671) Thumbnail displayed, click image for full size. 590690
Im going to drop school
and just work
and learn how to program in my free time
i think ill start with python,
is that a good starting point?
i know you guys must get this a lot
sorry
14 posts and 3 images omitted. Click Reply to view.
>>
Barnaby Finnerbire - Thu, 20 Mar 2014 04:33:30 EST ID:KMcHoWpo No.31282 Ignore Report Quick Reply
On the subject of jobs and whatnot, what were some of you guys' first jobs in compsci, and how long had you been programming? I do like learning coding and all, but I'm wondering at what point I should be looking to get a job programming.
>>
Cornelius Drabblebanks - Mon, 24 Mar 2014 09:07:33 EST ID:aE/WIEWJ No.31334 Ignore Report Quick Reply
OP sounds like someone I know, therefor hate.

NB, because I am sketchy, paranoid and untrusting.
>>
Samuel Fickleberk - Sat, 25 Oct 2014 02:52:38 EST ID:4z2LeZop No.32743 Ignore Report Quick Reply
>>31278
Why PHP? The web's popularity? Scripting is not yet serious programming?
>>
Lydia Nuddlelodge - Sat, 25 Oct 2014 04:03:02 EST ID:LlI/TeLr No.32744 Ignore Report Quick Reply
>>32743
Because Python requires some actual learning and has a thinking community, whereas the PHP community is more monkey-see-monkey-do and there's ample work for code monkeys.
>>
Beatrice Pecklefuck - Sat, 25 Oct 2014 15:48:25 EST ID:J6y5N/EV No.32747 Ignore Report Quick Reply
Python is a great language to learn due to how widespread it's use is, providing lots of flexibility in terms of field later.

If you want to drop school do it. I'm a fairly well paid system engineer with no formal education before entering the industry. The kids I see come in straight out of university have little to no useful modern skills due to very 'old-school' school curriculums.

One thing I'd suggest is getting involved in some open-source development projects on Github or something. This will provide you experience working in a collaborative team and possibly also using Agile development methods.

As someone who is self-taught certain things were missing in my skill set simply because I'd gone it alone and there is only so much you can do without being part of an organisation. Areas to brush up on are a basic understanding of computer networking and database technologies, as well as various formal development methodologies.

Hope this helps


reverth engineewing by Ernest Figglechine - Thu, 09 Oct 2014 09:47:39 EST ID:E7+Swl0w No.32632 Ignore Report Reply Quick Reply
1412862459914.jpg -(24641 B, 500x461) Thumbnail displayed, click image for full size. 24641
Is there anything that will decompile to c++ and make it readable? I tried "decompiler" and I can't get it to work.

so I'm guessing this is how programs are hacked/modded? I'm no genius but I'm pretty sure if I cracked open the old version of windows movie make I could make it way more awesome than it already was. and like a million other sweet ass ideas.

pic related. this subject is making me kream my khakis
16 posts and 4 images omitted. Click Reply to view.
>>
Jack Pallerwedge - Tue, 14 Oct 2014 18:14:05 EST ID:kx0eLfrb No.32691 Ignore Report Quick Reply
>>32679
ooooh I like the sound of that. I think I could tackle modding a NES game with some
patience.

>>there probably is some decompiler out there that takes x86 asm and spits out c++ code.

it'd be just like one big kick ass puzzle! couldn't I write some code to find some
patterns in the mess?
>>
Henry Waddlepeck - Wed, 15 Oct 2014 22:42:15 EST ID:0fDyrctt No.32693 Ignore Report Quick Reply
>>32691
>it'd be just like one big kick ass puzzle! couldn't I write some code to find some
patterns in the mess?

Maybe, but keep in mind heavily optimized code is going to be very different from the original. Inlining alone is likely to be present even in some debug builds. Then you have things like different variables being assigned to different registers at different times depending on use patterns, other kinds of variable renaming to save memory, structure padding, template instantiations, and so on...

Really what you're talking about is only feasible for completely unoptimized debug builds. And even then, without a PDB or something similar you have to guess at the semantic meaning of decompiled code.
>>
Esther Shakeford - Mon, 20 Oct 2014 23:50:21 EST ID:o20v/jC8 No.32717 Ignore Report Quick Reply
>>32693
Reverse engineering is even worse on some devices, because of idiosyncrasies.

Some people abused "bugs" in hardware to do weird effects, which when prevented or not properly emulated break things. Then there's hardware issues because some hardware doesn't do things sensibly, like gpus for example. While we encode RGBA values in that order, some hardware used RGAB and shit, which really screws things. The guy who worked on the Lima drivers (open-source Mali gpu drivers for Android devices) said he was shocked that everything actually worked as expected, because of how much vendor and even device-specific shit fucks up trying to do open-source or hacky things.
>>
William Crirringkotch - Sat, 25 Oct 2014 01:34:32 EST ID:l08FGvr0 No.32741 Ignore Report Quick Reply
Hello, low-level programmer here. The problem is C code or any code really can be compiled in 100s of ways that it still works, each way different depending on the compiler and the physical architecture of your processor. Decompiling will give you the assembly for your specific ISA, but there is no way to get the C back. Variable names or anything of the like are not present in your program binaries.
>>
Alice Chapperchock - Sat, 25 Oct 2014 11:00:07 EST ID:NRukDaie No.32746 Ignore Report Quick Reply
>>32691
Modding existing games (like ROMs or compiled programs) is very different than decompiling them. In that case, people are altering the program at the assembly level, not at the source code level.

Also IMO the best x86/x64 decompiler out nowadays is the Hex-Rays decompiler for IDA. It costs $3,500 plus the base cost of IDA (another $2,500) for a single-user license. They can charge these prices because they know that they are the best.


Question for simple GreaseMonkey script by Hannah Susslewater - Tue, 21 Oct 2014 18:04:15 EST ID:SU8tfDUG No.32720 Ignore Report Reply Quick Reply
1413929055637.jpg -(11165 B, 273x184) Thumbnail displayed, click image for full size. 11165
On a webpage, I want to change an image's url to something else. For example: "CrazyAlsCarpets.com/Images/Small/1.jpg" to "CrazyAlsCarpets.com/Images/1.jpg". What would I need to put in?

I know it looks something like this....
> else if(m = str.match(/https?:\/\/.*?????\..*\/.*\/([^\/&"'\?_]+)/)) {
> var id = m[1];
> img.replace(element, '?????', '?????', '');
> }

Thanks in advanced. I did everything I could to find an example and couldn't find the right code and this is my last hope.
>>
Hannah Susslewater - Tue, 21 Oct 2014 19:09:28 EST ID:SU8tfDUG No.32721 Ignore Report Quick Reply
::UPDATE::

I found this....
var els = document.getElementsByTagName("*");
for(var i = 0, l = els.length; i < l; i++) {
var el = els;
el.innerHTML = el.innerHTML.replace('BEFORE', 'AFTER');
}

it works. It's not perfect. If anyone can clean it up a bit, feel free.
>>
Archie Buzzville - Fri, 24 Oct 2014 00:51:05 EST ID:AqRXc+V3 No.32739 Ignore Report Quick Reply
>>32720
Learn to search Google/StackOverflow.

-- http://stackoverflow.com/questions/9731728/javascript-change-img-src-attribute-without-jquery
-- http://jsfiddle.net/Lwc5un11/


QA job assessment by Charlotte Cundleforth - Wed, 22 Oct 2014 16:51:07 EST ID:YHRWdgWc No.32730 Ignore Report Reply Quick Reply
1414011067190.jpg -(31463 B, 468x298) Thumbnail displayed, click image for full size. 31463
I'm applying for a QA position at a company because I am not that interested in development and have gotten let go from my last 2 jobs. As an assessment they want me to provide "a test case or cases" for a stack of post it notes.

I've been googling around looking at test case tutorials and examples and i just wanted another's opinion about how many cases i should be thinking of in this situation, and the general goal of each case. I mean how many things can you accomplish? Make sure the post its are there, make sure they peel, make sure they stick, make sure you can write on them? thats 4.

I don't have much QA experience (entry level position) but I can't imagine having more than 2 or 3 cases for a stack of post its. Any advice would be appreciated.
1 posts omitted. Click Reply to view.
>>
Charles Ginningridge - Wed, 22 Oct 2014 20:13:44 EST ID:qT9NCyqt No.32732 Ignore Report Quick Reply
>>32730
Is the paper thick enough? Do they rip when you pull them off the stack? Do they curl or stay flat when you peel them off? Are they able to be stuck and re-stuck easily?

I'm not sure you're cut out for Quality Assurance if you're having trouble coming up with at least a dozen test cases for something as basic as a post-it note, personally. You need to be able to come up with everything the user would want to use a post-it note for and make sure the product performs all of those functions to spec. Our QA teams are largely made up of people who distinguished themselves as excellent developers and "graduated" to QA, so I'd be very hesitant to hire someone in this role who was dismissed from 2 development jobs. You don't necessarily need to be a good developer to do good QA, but it sure as shit helps if you're working with software.
>>
Augustus Banningridge - Wed, 22 Oct 2014 20:40:09 EST ID:YHRWdgWc No.32733 Ignore Report Quick Reply
>>32732

OP here. That's interesting because at my last job most of the developers were paid more than the QA guys. and most of them didn't have much experience in OO development. My initial post was just me trying to get a better idea of what they might be looking for, and you have helped me with that. Everyone has to start somewhere. and from the looks of it the post above you had a similar idea to what i was thinking. i mean i know its basic but its a sticky note. what more do you want from it.
>>
Charles Ginningridge - Wed, 22 Oct 2014 21:19:46 EST ID:qT9NCyqt No.32734 Ignore Report Quick Reply
>>32733
>That's interesting because at my last job most of the developers were paid more than the QA guys.
That's a good indication of the sort of role QA performs in your organization, and it's probably indicative of the quality of product delivered. QA needs to have the authority to tell the developers what to do, sometimes with utmost urgency, and this is difficult in an organization where the developers are more highly compensated than the QA team. QA is like the waiter. They don't cook your food, but they are supposed to make sure it's going to be delicious before bringing it to you. QA needs the authority to send the product "back to the kitchen" and have it fixed immediately. Organizational barriers like pay structure and supervision can quickly impede this process and ultimately wreck the shipping product.

If this all sounds exciting to you, QA is probably a great fit. It is easy to distinguish yourself in QA if you are good at your job, because most people are shit at it. Being a distinguished QA expert is a lucrative career road for the same reason.
>>
Augustus Banningridge - Wed, 22 Oct 2014 22:02:06 EST ID:YHRWdgWc No.32735 Ignore Report Quick Reply
>>32734

I see what you're saying. I guess my experience was just different. I'm young and have been unemployed for a few months now and just really need a job. I probably won't get this position considering that I have hardly any experience with QA. Thanks for your time/help though. I guess I will try to be more extensive with the cases I submit for this assessment
>>
Charles Ginningridge - Wed, 22 Oct 2014 23:12:43 EST ID:qT9NCyqt No.32736 Ignore Report Quick Reply
>>32735
Wasn't my purpose to try and discourage you, especially if you are new and want to break into the field. If I came off as harsh, it's only because anyone interviewing you for the position will be too. If you're motivated and have an eye for detail, you can learn to become excellent at this field, just be aware of what you are getting into and prepare your very best. Good luck on the search.


Cant seem to figure out why my code is not working for this by Caroline Drillerway - Wed, 22 Oct 2014 03:09:28 EST ID:ajB9XsFu No.32726 Ignore Report Reply Quick Reply
1413961768492.jpg -(218977 B, 3840x1080) Thumbnail displayed, click image for full size. 218977
Lab 3 Instructions
Create a Folder called Your Name Lab 3
When you save the project below, use this folder as your location
Include your test plan results in this folder, and then zip up the folder.
Submit the zipped folder.
Details of the process are in Lab 2 Instructions and the video “What Files Do I Send”

Project: Complete 1 project from the following Programming problems at the end of Chapter 3:
• Tax, Tip and Total (problem 2)
• Body Mass Index (problem 6)

Grading:
The programming challenge is worth 50 points. Points are awarded for
• A functional program that accomplishes the goal of the challenge as outlined in the test plan (Read the test plan prior to coding.) (10 points)
• Proper use of variables (10 points)
Comment too long. Click here to view the full text.
>>
Caroline Drillerway - Wed, 22 Oct 2014 03:11:16 EST ID:ajB9XsFu No.32727 Ignore Report Quick Reply
>>32726

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
Comment too long. Click here to view the full text.
>>
Wesley Goodfoot - Wed, 22 Oct 2014 13:52:58 EST ID:YyGvI7Tc No.32728 Ignore Report Quick Reply
pastebin yo
>>
Wesley Goodfoot - Wed, 22 Oct 2014 13:59:55 EST ID:YyGvI7Tc No.32729 Ignore Report Quick Reply
also, you need to cast your input from foodChargeTextBox to a double, and I'm pretty sure you're missing something on thh line you access the text box on
>>32727

http://msdn.microsoft.com/en-us/library/zh1hkw6k(v=vs.110).aspx
Food = Convert.ToDouble(foodChargeTextBox.Text);

in the future, read your error message, think about what it means, google it, RTFM!


Coding feels by Charlotte Badgehall - Tue, 07 Oct 2014 03:17:35 EST ID:ZKISjmJz No.32609 Ignore Report Reply Quick Reply
1412666255711.jpg -(1998 B, 125x125) Thumbnail displayed, click image for full size. 1998
That feel when you debug a logic error
12 posts and 4 images omitted. Click Reply to view.
>>
Hannah Shakeforth - Sat, 18 Oct 2014 21:31:22 EST ID:CasDuNjv No.32708 Ignore Report Quick Reply
>>32689
Not necessarily true. In the appropriate context performance is not an issue due to elasticity. Depends on what you are trying to do.
>>
Esther Shakeford - Mon, 20 Oct 2014 23:42:26 EST ID:o20v/jC8 No.32716 Ignore Report Quick Reply
>>32708
One can almost make arguments against what is functional and what is not. According to the original definitions, a purely functional style duplicates all data and doesn't mutate the original, but in that sense, a language is basically useless and is horribly for memory procedures.

If used as the inaccurate term for lazy and/or function-oriented languages, they can have a high performance cost and incredibly complexity. At the other extreme, strictly-typed languages that force manual memory management, object-oriented states, and prevent effective abstraction are ass to work with, no matter the performance.
>>
Shitting Droshshaw - Tue, 21 Oct 2014 02:01:38 EST ID:vhgZIlcV No.32719 Ignore Report Quick Reply
>>32716
Which "original definition" says the data gets duplicated all over?
Since nothing can be changed, a lot of the time the same structures can be shared in memory.
Haskell is purely functional language that has no mutability in the global context, yet it can perform well.

But I agree with you that "functional language" is an elusive term. Many today would say functional languages need
to be lazy, but then original LISP would not be a functional language and that's pretty absurd.
My personal view is that language needs to have some enforcement on immutability and side effects (not necessarily global)
and first class higher order functions AND have a syntax that supports those to the level they're sane to use. (otherwise C++ would be functional)

On topic though:
Functional programming may seem inefficient, because it's hard to reason about how the
compiler is actually trying to solve the problem using the functions you've given it.
>>
Charles Hellywud - Tue, 21 Oct 2014 22:40:15 EST ID:0fDyrctt No.32724 Ignore Report Quick Reply
>>32716
>One can almost make arguments against what is functional and what is not. According to the original definitions, a purely functional style duplicates all data and doesn't mutate the original, but in that sense, a language is basically useless and is horribly for memory procedures.

Not really. It's not like the original is kept around for the entire runtime of the program after it's created. The original goes away when you don't need it anymore - either you leave the stack frame in which it resides, the garbage collector or equivalent scheme kicks in, or the compiler is smart enough to reuse memory locations without you having to think about it (which is most of the popular ones, by the way).
>>
Charles Hellywud - Tue, 21 Oct 2014 22:41:19 EST ID:0fDyrctt No.32725 Ignore Report Quick Reply
>>32719

To me, a PURE functional programming language is one that has no side effects except in special cases. Haskell and Erlang are examples of this.


C++ worth it? by Clara Nallypune - Wed, 08 Oct 2014 13:54:36 EST ID:Y3h1Su5k No.32620 Ignore Report Reply Quick Reply
1412790876364.jpg -(35831 B, 277x300) Thumbnail displayed, click image for full size. 35831
Is it worth learning C++ if you're just a hobby programmer with limited free time, who can already code fairly fluent in Java?
Is the performace gain and being independent from a vm worth the hassle?

My goal is to program a 2D roguelike (not one of those oldschool ones though, it should go beyond the console)
10 posts and 2 images omitted. Click Reply to view.
>>
Nathaniel Sasslechen - Fri, 17 Oct 2014 23:25:48 EST ID:KmxmS4eT No.32706 Ignore Report Quick Reply
>>32704

Pretty sure you interpreted that in the wrong direction.
>>
Barnaby Turveyshaw - Sat, 18 Oct 2014 19:28:07 EST ID:6pKRHWyN No.32707 Ignore Report Quick Reply
>>32706
Learn whatever the fuck you find inspiration for.
>>
Clara Pillerfield - Sun, 19 Oct 2014 21:13:48 EST ID:Ybv0zkiv No.32713 Ignore Report Quick Reply
1413767628719.jpg -(82276 B, 500x482) Thumbnail displayed, click image for full size. 82276
>>32704
>Doesn't argue about how BASIC's language philosophy applies to so many languages since.
>Doesn't actually put forth any argument about how it's less of a high level than other languages.
>Clear syntax and strong abstractions do a good high level language make
>Nice topic points though bro
>>
Esther Shakeford - Mon, 20 Oct 2014 23:35:45 EST ID:o20v/jC8 No.32715 Ignore Report Quick Reply
You could look into Haxe. Originally it was a bit of a re-work of flash or something I think, but then it swirled into a general-purpose media language, then the developers said fuck it full SICP and created a very high-level transcompilable language that can target like six code bases, though it can compile to it's own VM, as well as directly to machine code.

Looks fantastic as is, but contains a lot of jargon and "better" programming styles, so probably terrible for real hacky stuff, but if you're going for something sane and manageable it's probably great.
>>
Esther Shakeford - Mon, 20 Oct 2014 23:52:50 EST ID:o20v/jC8 No.32718 Ignore Report Quick Reply
For the thread:
>trying to learn C++ programming
>random types for libraries and shit
>poor documentation = enjoy never combining to type formats designed for the same thing but fuck up your compiler something fierce


Does anyone here like smartphone apps? by Manish - Tue, 14 Oct 2014 05:28:31 EST ID:5Pjh2yL3 No.32683 Ignore Report Reply Quick Reply
1413278911198.jpg -(26513 B, 305x165) Thumbnail displayed, click image for full size. 26513
Does anyone here like smartphone apps? I have probably downloaded over 100 Android, iPhone, and Blackberry apps just to try them out? I have downloaded games, foreign radios, augmented reality apps, and more. I have even looked at Mimvi, which has been a really interesting search engine for apps. I was also thinking about making an app myself.
>>
Polly Blobberdale - Tue, 14 Oct 2014 11:24:58 EST ID:Ky+8GJE7 No.32685 Ignore Report Quick Reply
I've been learning C# and I've seen you can use it to make phone apps, so I want to check that out once I learn C# more.

It really doesn't look too hard to make something, would just have to learn the keywords to access all of the phone stuff. I'm sure stuff like sliders/touch is all built in with parameters to change how responsive they are and how they react.

Anyone use C# for phone apps? How easy is it?

http://xamarin.com/platform - That's what I've been looking at.
>>
Polly Blobberdale - Tue, 14 Oct 2014 11:31:07 EST ID:Ky+8GJE7 No.32686 Ignore Report Quick Reply
>>32685

Reading a bit more about it, dot42 is also recommended: http://www.dot42.com/

Though someone says just to use Java over C# as it's better supported and the languages are very similar.
>>
Clara Summlemetch - Thu, 16 Oct 2014 22:25:23 EST ID:0fDyrctt No.32699 Ignore Report Quick Reply
>>32686

The languages may have similar syntax, but their idioms are quite different.
>>
Polly Sushmuck - Fri, 17 Oct 2014 13:43:58 EST ID:y9fXLquJ No.32700 Ignore Report Quick Reply
>>32699
>similar syntax, but their idioms are quite different
I don't get it
>>
Eugene Boggleman - Fri, 17 Oct 2014 22:33:16 EST ID:0fDyrctt No.32705 Ignore Report Quick Reply
>>32700

http://en.wikipedia.org/wiki/Idiom

Programming languages have idioms just like natural languages do. For a large subset of tasks, a solution in Java and a solution in C# may look wildly different.


ACH development by Edwin Lighthood - Tue, 14 Oct 2014 12:37:31 EST ID:blFKNJWb No.32687 Ignore Report Reply Quick Reply
1413304651753.png -(271753 B, 580x493) Thumbnail displayed, click image for full size. 271753
Can anyone direct me to a resource for learning Automated Clearing House development? Any help will be rewarded with an Immunity Idol


Minix Scheduler by Nigger Dubberlock - Mon, 13 Oct 2014 16:33:09 EST ID:xilcYZ/w No.32680 Ignore Report Reply Quick Reply
1413232389024.jpg -(83749 B, 960x948) Thumbnail displayed, click image for full size. 83749
does anyone know what type of scheduler minix3 has?


Weird Program Failure for Odd Numbers by Cedric Giffingdore - Sat, 11 Oct 2014 14:47:53 EST ID:7ZYK3DQP No.32672 Ignore Report Reply Quick Reply
1413053273297.jpg -(29483 B, 797x291) Thumbnail displayed, click image for full size. 29483
Hi /prog/ I'm having issues with a program I am creating to study the 2D Ising Model - in C (coding in this language not by choice).

For some reason I am finding that my program will fail at a certain point for odd sized arrays. I do have some pieces of code within the program which are different for odd/even numbers (ie. for(i%2==0), else statements) but what is confusing me to no end is why the failure is determining at the point it is given that there is no dependence on odd/even at the point.

I've tested using printf statements so I know exactly where it is failing - it fails to leave a certain function in the main that is correctly declared preceding it. I have global variables correctly declared outside the main() then assigned within it, as well as a 2D lattice declared within the main().

I'd appreciate some pointers as it's driving me nuts trying to find what's wrong.
>>
Cedric Giffingdore - Sat, 11 Oct 2014 14:53:17 EST ID:7ZYK3DQP No.32673 Ignore Report Quick Reply
The relevant parts of the problem code are:

int i, int j, int;

void printlattice(int spin[D+2][D+2])
{

for(j=D+1;j>=0;j--) //moves along j-rows of array from top to bottom
{

for(i=0;i<=D+1;i++) //data row: moves along i-columns of array from left to right
{
if(i==1||i==D+1)
{
printf(" #"); //print left/right sides of border
Comment too long. Click here to view the full text.
>>
Cedric Giffingdore - Sat, 11 Oct 2014 15:04:37 EST ID:7ZYK3DQP No.32674 Ignore Report Quick Reply
What's driving me nuts, is that adding a bunch of printf statements to debug, I find it will fail to leave the function at the end and advance to the following code in the main for odd sized arrays (ie. D=3 implies spin[5][5]). It runs perfectly fine for even sized D (ie. even sized arrays).

I can't think of a possible reason why - it runs through the printlattice() program then just stops on the screen with typical waiting display (flashing block).

Simplifying the above (note I made a typo and missed the D in my post, not the actual code) for clarity:

int i, int j, int D;

void printlattice(int spin[D+2][D+2])
{

for(j=D+1;j>=0;j--)
{

for(i=0;i<=D+1;i++)
Comment too long. Click here to view the full text.
>>
Rebecca Fomblehall - Sun, 12 Oct 2014 06:54:26 EST ID:vhgZIlcV No.32675 Ignore Report Quick Reply
That doesn't compile.
For that code the problem would be undefined D at compile time,
when trying to define printlattice.
>>
Matilda Sommerham - Mon, 13 Oct 2014 02:04:00 EST ID:ZKl2mnj3 No.32678 Ignore Report Quick Reply
This is an excellent time to learn about debugging. What IDE are you using?

You should find a decent debugger, put a breakpoint close before where you've found the problem, and step through one line at a time, noting variable values as you go. That should help you see what the problem is... but I'll now to try to be useful without making you do any extra work:

From what it sounds, you have some sort of infinite loop occurring, since you never actually return from main and just hangs (you should monitor your CPU usage for that process, btw)

The code you posted is really painful to read since it's terribly formatted (link to somewhere where you can post properly formatted code next time, and for the love of god use spaces in your boolean expressions), and incomplete, but my hunch is that somewhere you have some control flow that does something for even numbers necessary to leave a loop, and you don't have it for odd numbers.

You mention that you:
"do have some pieces of code within the program which are different for odd/even numbers (ie. for(i%2==0)"

and yet in the code you posted there isn't a single _ % 2 statement ... maybe if you think that is the problem you shouldn't exclude it from the sample code.


Matlab Image Processing by Frederick Gezzleworth - Tue, 30 Sep 2014 07:04:54 EST ID:MretJ1sA No.32562 Ignore Report Reply Quick Reply
1412075094766.gif -(703718 B, 256x256) Thumbnail displayed, click image for full size. 703718
I'm doing a project involving image filtering (phase noise) using matlab and I was wondering if anyone knows if there's any good manual/textbook that will be able to explain any of this?

I will be receiving instruction but I want to learn a bit of it before I start to make things easier.

Any help would be appreciation.

pic unrelated
>>
Frederick Gezzleworth - Tue, 30 Sep 2014 07:06:42 EST ID:MretJ1sA No.32563 Ignore Report Quick Reply
>>32562
*appreciated

nb (I'm high)
>>
Hugh Wollerbanks - Sun, 12 Oct 2014 09:30:28 EST ID:X8Wv/F6I No.32676 Ignore Report Quick Reply
Some help would still be appreciated, turns out I'll be using fourier transformations, if that helps at all.


<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.